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
- The search field has an additional icon that has no functionality
- Splash Image logo is shown after being removed when pressing the Preview button
- Crash on GenerateParticleGeometry when creating certain particles
- HD Sample Buffer returns black for Rendering Layer Mask when Custom Pass Volume is not active
- SpriteRenderer has wrong input color when associated material uses SRPBatcher
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