Search Issue Tracker
Fixed
Fixed in 1.1.3
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
- “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
Add comment