Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0a1
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1115544
Regression
No
PackedMemorySnapshot: Array type 'baseOrElementTypeIndex' does not point to its element type
Steps to reproduce:
1. Download attached project
2. In toolbar select BugReport > Open TestCode Window
3. Click "Capture Memory" button
Expected results: Array types should provide a baseOrElementTypeIndex to figure out its element type.
Actual results: Various array types found with the message "Array '<name>' has no element type".
Reproduced with: 2019.2.0a1, 2019.1.0a14, 2018.3.3f1, 2017.4.19f1
Rproducible with: 4.x scripting runtime
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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (2019.2.X):
if the array of type x is declared as array<x> and initialized as new array<x> of size without any instance of x ever being created we will miss the type x during the crawling as it would not be initialized. This is expected behavior.