Search Issue Tracker
Not Reproducible
Votes
0
Found in
3.5.5f2
Issue ID
487539
Regression
No
Parent scripts are losing references to fields in their children script when copied
Parent scripts are losing references to fields in their children when copied.
- "Parent0" gamobject has a parent script, and a gameobject "Child0" has a child script with some public field, e.g. int that is set to 5.
- In "Parent0"'s Parent script, child = "Child0"'s child script.
- Copy "Parent0" and rename to "Parent1", and rename "Child0" to "Child1"
- Copy "Parent1" and rename correspondingly to "Parent2" and "Child2". Notice that the public field in the Inspector in the "Parent2" is not initialized showing value 0. However, in "Child2" the value is correct.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment