Instancing a prefab that have a Shapes Group component generate an error

Avatar
  • updated
  • Fixed

If you instantiate a prefab that have a Shapes Group component (and at least one children shape), it will trigger this error :

Image 121

Setting the script execution order of Shapes Group after the default time fix the bug.

Reporting a bug? please specify Unity version:
2020.2.0b2
Reporting a bug? please specify Shapes version:
2.3.1
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Fixed

this has now been fixed in Shapes 2.3.2

Avatar
Avoltance

Similar to https://shapes.userecho.com/communities/1/topics/102-nullreferenceexception-from-shapegroup-on-entering-play-mode-in-2019410f1-lts-with-urp , but I could only trigger it while instantiating, not just by adding it in the scene and then enter play mode.

Avatar
Freya Holmér creator
  • Answer
  • Fixed

this has now been fixed in Shapes 2.3.2