Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
Issue ID
736726
Regression
No
Code-created TerrainData marked with "HideFlags.DontSave" crashes editor on exit
Steps to reproduce:
1. Open attached project's scene "Test".
2. Exit Unity Editor.
3. Editor crashes.
Crash is caused by HideFlags.DontSave:
[ExecuteInEditMode]
public class Test : MonoBehaviour
{
public void OnEnable()
{
var data = new TerrainData();
data.hideFlags = HideFlags.DontSave;
}
}
Reproduced on Windows 10 (64 bit) with 5.3.0b3 (b6181bece87a), 5.2.2f1 (f5cc61d36935), 5.2.0f2 (d7f8e5b3cbb5b)
Fix verified on 5.4.0a4 (426f677d5fa7)
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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment