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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.