When running, the position of the polygon point will change!

Avatar
  • updated
  • Under Review

After finishing editing the polygon point, the point will move during the running process.

When editing...

Image 148

Runtime...

Image 147

Reporting a bug? please specify Unity version:
Unity 2020.1.9
Reporting a bug? please specify Shapes version:
Shapes 2.3.2
Reporting a bug? please specify Render Pipeline:
Avatar
Freya Holmér creator
  • Under Review

Does this happen to all polygons or just this one? And are you setting it from script or in the inspector?

Avatar
ben ben
Quote from Freya Holmér

Does this happen to all polygons or just this one? And are you setting it from script or in the inspector?

The settings made in the inspector appear occasionally. I did not end the editing state when editing multiple polygons. I wonder if it matters?

This problem can be solved by deleting the point and adding it again.

Avatar
Freya Holmér creator

does it happen to all polygons or just this one?

Avatar
ben ben
Quote from Freya Holmér

does it happen to all polygons or just this one?

Not all, if you run directly without ending editing, this will happen.