Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2019.3
Issue ID
1225769
Regression
No
SerializedProperty.arrayElementType on non-empty array of managed references causes "Cannot get managed reference object" error
Given a [SerializeReference] array that is not empty, trying to query .arrayElementType of SerializedProperty that corresponds to the whole array produces a console error message "Cannot get managed reference object with out of bound or outdated reference id". It then returns the type as "managedReference<>" but first logs an error.
1. Open attached SerializeRefArrayElementType.zip project and "Scene" scene from it,
2. Select "GameObject" in hierarchy,
3. Use "Test/Test arrayElementType" menu item
4. Will print:
Prop: name=interfacesArray type=SerializedInterface propertyType=Generic isArray=True
Prop: arraySize=2
ERROR Cannot get managed reference object with out of bound or outdated reference id
Prop: arrayElementType=managedReference<>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] ArcCone Direction computation is wrong in Base Mode
- [Android] [Galaxy Tab] A singular Pen touch logs a Pen touch event and a singular finger touch event when logged using "VisualElement.RegisterCallback" with "Pointer(Up/Down)Event"
- Crash on D3D12DescriptorCache::Deallocate or vkGetInstanceProcAddr when loading RenderDoc in a specific Scene
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader file
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a8