Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0f3
Issue ID
870394
Regression
No
gameObject's Multi-dimensional array becomes null when object is Instantiated through script
To reproduce:
1.Download and open attached project
2.Open "InstantiateBug" scene
3.Enter Play mode
4.Notice error in the console
Expected result: Multi-dimensional array being Instantiated with the gameObject and it's length is returned as 4.
Actual result: Multi-dimensional array is not instantiated with gameObject and it's length is returned as null.
Reproduced with: 5.6.0b3, 5.5.0p4, 5.4.4f1, 5.3.7p2
Note: In MDArrayBug.cs script, on line 22 Multi-dimensional array is declared. It should be transferred to instantiated gameObject, but it isn't.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Only second base Camera out of two base Cameras with priority 1 and -1 is rendered in the Player
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
Add comment