Search Issue Tracker
By Design
Votes
0
Found in
4.5.5f1
Issue ID
650866
Regression
No
[WSA] losing references inside prefabs
Related forum thread:
http://forum.unity3d.com/threads/possible-bug-losing-references-inside-prefabs-in-windows-store-apps.214952/
Reproducible on 4.5, 4.6 and 5.0 versions;
Repro steps:
1. open project "prefab references.zip". Also, Unity package is available in the mentioned forum thread;
2. build to WSA;
3. build and run generated VS solution;
4. Press "W" key, texture appears;
5. Now press "Enter" key two times (scenes switches);
6. Press "W" key, texture doesn't appear (null reference);
Repeat 4-6 steps to observe the behavior. Every second load of the first scene, texture loads normally;
---
This is by design. Windows Store and Windows Phone apps must keep references to MonoBehaviours and ScriptableObjects directly. To catch this error pass -enableWarningsIncorrectlyUnloadedAssets command line option (works on WSA but not WP8). Then you'll get a list of objects you need to fix.
Comments (2)
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Maus3rSR
Oct 23, 2018 08:07
Hello,
I have a similar issue on v 2018.3.0b5 but here is about through Unity Collab.
I have a prefab gameobject containing a script with references to others prefab (prefab child derived from a base prefab)
Any time I send modifications on the project, my partner always loose references of the child prefabs in the script. (NullReference Exception)
daisuke.suzuki
Jun 29, 2016 01:37
Didn't repro on 5.3.4p1.
I hit similar issue on 5.3.4p1 so I tried the repro to check if my issue is this one or not. Seems my issue is different one.