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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment