Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.3.X, 2018.1.X
Votes
0
Found in
2017.3.0f2
Issue ID
977003
Regression
No
PackedMemorySnapshot: Unable to resolve typeDescription of GCHandle.target
Reproduction steps:
1. Download user's attached project and open in Unity
2. Open scene "Scene"
3. Open BugReport -> Open TestCode Window
4. Click Capture Memory 'Editor'
Expected: No errors in console
Actual: Errors in console (view picture)
Reproduced on: 2017.3.0a6; 2017.3.0p1; 2018.1.0b1
Note:
These are error messages from the provided test case and not Unity error messages.
Some GCHandle's cannot be used to resolve the type. With pretty much every restart of the Unity editor, the fail-reason for that is different. Sometimes it outputs "Cannot find memory section of vtableClassPointer", sometimes it outputs "pointer is NULL".
Memory Snapshots introduced only from 2017.3.0a6.
Fixed in: 2018.1.0b9, 2018.2.0a1
Comments (2)
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
lukaszunity
Jan 04, 2018 07:48
This is a bug in Mono where it has a few GC handles that point to invalid objects and they should removed from the list of GC handles. The the invalid GC handles can be ignored for now, as they have no affect on the captured snapshot.