Search Issue Tracker
Active
Under Consideration for 1.1.X
Votes
1
Found in [Package]
1.1.0-pre.1
Issue ID
PROFB-173
Regression
No
A texture referenced by a Static struct is reported as an "Unused Loaded Asset" in Player
How to reproduce:
1. Open the user-attached project “TestStaticReference”
2. Click “Build Settings” and check the “Development Build” and “Autoconnect Profiler”
3. Click “Build And Run”
4. In the Player, click the “Load Scene” button
5. In the Editor, click Window → Analysis → Memory Profiler → Capture New Snapshot
6. Open the captured Snapshot → Unity Objects → Texture2D → PureBlack
7. Observe the Status
Expected result: The status is “Used Loaded Asset”
Actual result: The status is “Unused Loaded Asset”
Reproducible with: 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Couldn’t test with: 2021.3.29f1 (Memory Profiler not working correctly)
Reproducible on: Windows 11 Pro
Note: Not reproducible in Editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Add comment