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
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Field is still marked as changed when changed back to its default state in UI Builder
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
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