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
- Left side cog menu button is obstructed by the maximum Y value of the graph when editing a curve in the Particle System Curves
- "Property exceeds previous array size (64 vs 32)." warnings are thrown when switching from tvOS platform to a Standalone platform after restarting the Editor
- Component logo icon is poorly visible in a query build mode then light editor theme is selected
- NavMeshAgent "breaks" when approaching a non-carved NavMeshObstacle
- Component titles in the tooltips are presented in a code strings instead of human language
Add comment