Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2018.4
2019.1
2019.2
2019.3
2020.1
Issue ID
1181431
Regression
No
Unreferenced Material with "HideFlags.DontSave" is included in Build
Reproduction steps:
1. Open "1181431" project
2. Build & Run a Standalone player (Development build and Autoconnect Profiler enabled)
3. Take a Detailed Memory Sample from the Build
4. Expand "Assets" -> "Texture 2D"
5. Notice that the "Spritesheet_beatch_Horizon" is loaded and has 0 "Ref count"
Expected Result: "Spritesheet_beatch_Horizon" Sprite Sheet is not loaded, only the Sprite Atlas
Actual Result: Both the Sprite Sheet and the Sprite Atlas are loaded
Note:
Reproduces on: Mono and IL2CPP; DirectX11, DirectX12, Vulkan, OpenGLCore, OpenGLES2, OpenGLES3
Reproduced with: 2020.1.0a3, 2019.3.0b3, 2019.2.5f1, 2018.4.8f1, 2017.4.32f1
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note:
The BuildPipeline.BuildAssetBundles apis have inherit problems with complex setups that cannot be solved without a rewrite. This rewrite was the Scriptable Build Pipeline package and this case is solved when building bundles using that package. https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@1.11/manual/GettingStarted.html