Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0b1
Issue ID
903733
Regression
Yes
'MapMagic World Generator' A$ package fails to generate terrain
1. What happened
'MapMagic World Generator' demo scene fails to generate terrain in 2017.1.0b1. There's DemoScene that, on Play, stucks with 'Generating Terrain' status, throwing errors to console:
Assertion failed: Assertion failed on expression: 'outputVertexCount == sharedData.vertexCount'
Assertion failed: Assertion failed on expression: 'outputIndexCount == sharedData.indexCount'
IndexOutOfRangeException: Array index is out of range.
(wrapper managed-to-managed) object:ElementAddr_3_4 (object,int,int,int)
MapMagic.WeldTerrains.WeldSplats (System.Single[,,] splats, UnityEngine.Terrain prevX, UnityEngine.Terrain nextZ, UnityEngine.Terrain nextX, UnityEngine.Terrain prevZ, Int32 margin) (at Assets/MapMagic/Main/WeldTerrains.cs:136)
...
This same scene works fine in 5.6.0p1. But opened either new or updated from 5.6, fails in 2017.1.0b1
2. How we can reproduce it using the example you attached
- Import 'MapMagic World Generator' A$ package into new project
- Open DemoScene
- Run
---> Observe errors in Console
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
zakirshikhli
Apr 25, 2017 13:37
Getting this error, but did not using "MAPMAGIC WORLD GENERATOR"
Assertion failed: Assertion failed on expression: 'outputIndexCount == sharedData.indexCount'