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
- Symlinks are broken when a package which contains .xcframework + symlinks is added through Unity Package Manager.
- Crash on ApplyMaterialPass when opening a specific scene
- Memory leak when using Native Plugin in Windows IL2CPP Build
- [URP][Tutorial] Universal 3D Sample tutorial issues
- Gradle error: "...Unexpected error during link..." is thrown when building for Android and targeting API Level 34
Add comment