ImmediateModeShapeDrawer got problem after delete a extraneous GameObject in Android.

Avatar
  • updated

ImmediateModeShapeDrawer got problem after delete a extraneous GameObject in Android.

This question is very strange. After spending me 3 days, I figured out which step after which this problem occurs. But I still haven't found a way to fix it.

Before and after my problem, I break down my changes until I find an atomic operation I did when the failure occurred.


-----------------------

1. I have a scene named "Game". here is:

Image 581

It works good in Win10 Editor and Android.

2. I delete the GameObject named "ToolPanel"

3. It works good in Win10 Editor.

4. BUT, it doesn't display correctly on android, like this:

Image 582

here is video.

Record_2022-04-21-00-09-56.mp4


And here is my Shapes config:

Image 584

Here are some solutions I tried to solve the problem:

1. rename Game.unity to Game2.unity, create a new scene Game.unity, and Copy all GameObject in Game2.unity into Game.unity.

The following are some actions that may be related to this problem:

1. I made a backup of the Game.unity before. I copy Game.unity to "Game bakcup.unity".

Hope you help.  :)

Reporting a bug? please specify Unity version:
2021.2.14f1c1 Personal
Reporting a bug? please specify Shapes version:
4.1.3
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Fan Applelin

I gave up, I kept this GameObject anyway. This is a really weird bug.