Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2018.4.0a1
2019.1.0a1
2019.1.0f2
2019.2.0a1
2019.3.0a1
Issue ID
1152858
Regression
No
Crash on Terrain::OnTerrainChanged when copying TerrainData Asset on OnTerrainChanged()
How to reproduce:
1. Open the "OnTerrainChanged.zip" project
2. Add new Terrain to the Scene
3. Attach "TerrainCopier.cs" script to the Terrain
4. Make some changes to the Terrain
Actual result: Unity crashes.
Reproducible with: 2019.3.0a2, 2019.2.0b2, 2019.1.2f1, 2018.4.0f1.
Notes:
The crash happens on line "AssetDatabase.CopyAsset("Assets/Resources/TerrainData/" + td.name, "Assets/Resources/TerrainData/" + td.name + " 1");" TerrainCopier.cs:15.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
- [MacOS] Trying to pick a Colour from full-screen window breaks Colour Picker Tool functionality
- WebGL Player hangs on first frame when "Autoconnect Profiler" is enabled and large amount of Profiler data is buffered before the first frame
Add comment