Search Issue Tracker
Fixed in 3.0.10
Votes
0
Found in [Package]
3.0.9
Issue ID
1227402
Regression
No
Sprite Shape Shows Error in Console When Shape Profile has Angle Range 180, -180
Sprite Shape Shows Error in Console When Shape Profile has Angle Range 180, -180
Repro Steps:
1. Upgraded from Sprite Shape 3.0.8 to 3.0.9.
2. Got the following error in the console:
InvalidOperationException: Mesh data has reached Limits. Please try dividing shape into smaller blocks.
UnityEngine.U2D.SpriteShapeGenerator.CopySegmentRenderData (UnityEngine.U2D.SpriteShapeGenerator+JobSpriteInfo ispr, Unity.Collections.NativeSlice`1[UnityEngine.Vector3]& outPos, Unity.Collections.NativeSlice`1[UnityEngine.Vector2]& outUV0, Unity.Collections.NativeSlice`1[UnityEngine.Vector4]& outTan, System.Int32& outCount, Unity.Collections.NativeArray`1[System.UInt16]& indexData, System.Int32& indexCount, Unity.Collections.NativeArray`1[T] inVertices, System.Int32 inCount, System.Single sOrder) (at....
Comments (2)
-
Pattrigue
Sep 01, 2023 13:59
I still get this issue in version 9.0.2 in Unity version 2022.3.8 LTS. It breaks my game completely, as it causes most level geometry to just outright disappear.
I am stuck using an old version of Unity because of this. How has this not been fixed yet?
It's unacceptable. -
brendan122
Aug 30, 2022 16:17
I get this issue in version 7.0.6 of the plugin. I am generating / editing the spline at runtime and when I add a tenth point to the spline it returns this error.
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 3.0.10):
Issue is resolved in 3.0.10 and 4.0.2 versions of the 2D SpriteShape package.