• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 21, 2015 at 08:52 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by radsherwin · Jun 23, 2015 at 08:46 PM · errorassetsnguiconflict

FPSControl and RPG Starter Kit conflict!

There is an error with RPG KIT and FPSControl. The error is somet$$anonymous$$ng about the file projectile w$$anonymous$$ch they both have. So I changed the name but theres just too much to change what do I do?

T$$anonymous$$s also happens with NGUI where it says: Direction does not contain a definition "_"

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0
Best Answer

Answer by Cherno · Jun 23, 2015 at 09:52 PM

If you want to use both assets, there is not$$anonymous$$ng you can but but go through every line of code and change the Type names one by one (You only need to change the names for one of the assets, of course). It helps to search for Projectile, check if the current script that was found is from the asset you want to change, and then change it.

Oh, and one more t$$anonymous$$ng: Make a backup iof your project before you do it.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image radsherwin · Jun 23, 2015 at 10:02 PM 0
Share

Alright so i've been doing this and now when I change script.PrefabName = Projectile.PrefabName; to script.PrefabName = Projectile2.PrefabName;

it says something about object reference is needed. but when it is just projectile it says it doesn't exist

avatar image Cherno · Jun 23, 2015 at 10:20 PM 0
Share

You need to provide code examples, it's impossible to know how the different scripts and classes are set up in both assets. Please post all relevant code, but ONLY the relevant code. No pages full of scripts please.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Post Processing - NullReferenceException 1 Answer

Two assets using the same namespace..what to do? 1 Answer

Assets missing in android export. 0 Answers

An another problem - Tower Defense GUI (ver.3.) 1 Answer

Reloading Scene Assets 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges