Search Issue Tracker
Won't Fix
Votes
6
Found in
5.3.5p2
Issue ID
806204
Regression
No
Script reference on Prefab in AssetBundle missing when adding/changing namespace to the script
Steps to reproduce:
1. Open attached project
2. Open "Demo" scene
3. Play in editor
-- AssetBundlemanager initializes prefab which prints "Start" in Console
4. Open Assets/Scripts/Test.cs
5. Change namespace to any other or just imply add new letter
6. Save script and play in editor
-- Notice warning in the console
Results: The referenced script "Test" is now missing.
Note: Rebuilding asset bundle doesn't work. Looks like namespace is being provided by Unity and that may be the cause.
Reproduced with: 5.3.5p3, 5.4.0b23, 5.2.4f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Ebrahim-MR
Jan 17, 2018 06:05
I had this problem and i realized that it's problem is with assets GUID
So I used re import all option right from root directory of unity project. and it worked.
I really hope that this solves your problem.
Mario_HG
Jun 23, 2016 12:15
The simulation mode has to be turned off.