Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2018.4
2019.4.9f1
2021.1
Issue ID
1287614
Regression
No
Assets still included in Build when HideFlags.DontSaveInBuild is used
How to reproduce:
1. Load "Sample Scene"
2. Select "NewBehaviourScript" in Hierarchy, set Tag to "Untagged" and set "HideFlags" to "DontSaveInBuild"
3. Build Player, connect Profiler to Player, take detailed memory sample
4. Expand "Assets > Textures" in Profiler and notice the "Star" texture is there
Expected results: "Star" texture is not included in the Build
Actual results: "Star" texture is included in the Build
Reproducible with: 2018.4.29f1, 2019.4.14f1, 2020.1.13f1, 2020.2.0b11, 2021.1.0a5
Note: also reproduces with IL2CPP
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
- Crash on tlsf_free when generating the Font Atlas
- “… is using a shader without GPU deformation support. Switching the renderer over to CPU deformation.” warnings are logged when GPU Skinning is set to GPU
- "Material '...' has _TexelSize / _ST texture properties which are not supported by 2D SRP Batcher...” warning is logged when the Shader is SRB Batcher compatible
- Crash on EnsureUniqueSiblingName when calling GameObjectUtility.EnsureUniqueNameForSibling() with a null argument
- Changes are not applied when selecting Platform settings for Plugins
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1