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
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
- Context menu actions (Collapse All, Expand All, Enable All, Disable All, Remove All, Reset All) do nothing in Volume component
- [Android] Audio volume decreases when returning to the app during screen recording
- Graphical issues are caused by GPU Occlusion Culling when using Amplify Shaders
Add comment