Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0f1
Issue ID
975832
Regression
No
PackedMemorySnapshot: Missing connections between native objects
To reproduce
- Open attached user project
- Open Assets/Scene.unity
- Open in top menu bar "BugReport > Open TestCode Window"
- Click Capture Memory
Expected: Notice the GameObject "QQQ Cube" references all its Components.
- Build & run a Windows Standalone build
- Connect profiler to Windows Standalone build
- Open in top menu bar "BugReport > Open TestCode Window"
- Click Capture Memory of Standalone build
Actual: Observe the GameObject cannot be found and most other connections are missing too.
Reproduced in 2017.1.0f3, 2017.2.0f3, 2017.3.0f1, 2018.1.0a7
Comments (1)
-
Peter77
Dec 06, 2017 16:27
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.3.X):
The difference between Edit mode and Playmode/Standalone is that a component's managed representation exists only if said component has been requested by a script or in the case of PlayMode by the inspector. This is one of the main reasons for caching GetComponent<T>() calls in unity so that we create the managed representation of the native object only once.