Search Issue Tracker
Fixed in 2018.3.X
Won't Fix in 5.5.X, 5.6.X, 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
905875
Regression
No
Prefab field reference shown as Null after swapping files, even though it has the Reference defined in the .prefab file
Steps to reproduce:
1. Open user attached project
2. Select "FileCopy / "New->Origin" " from the Editor dropdown menu at the top
3. Reimport "HelloWorldScript" on Windows or "Refresh" in hierarchy on Mac
4. Select "HelloWorld" prefab and observe "Ref Obj 3" field being "Null" value
5. Double click main scene to re-open
6. Select "HelloWorld" prefab and observe "Ref Obj 3" have "RefPrefab1" value
Expected result: New->Origin editor script copies HelloWorldScript and HelloWorld prefab from a folder in the project outside assets. With it comes the references for the object fields in the HelloWorld prefab. The reference is loaded and "Ref Obj 3" has "RefPrefab1" value from the start.
Actual result: Upon swapping the Script and Prefab files, they get loaded, but reference is not shown. (Although it's not lost. Prefab file has reference information inside)
Reproduced on 2017.1.0b2, 5.6.0f3, 5.5.3p1
Notes: 5.4.x just loses script reference upon reloading scene.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment