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
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
Add comment