ImmediateModeShapeDrawer got problem after delete a extraneous GameObject in Android.
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:
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:
here is video.
Record_2022-04-21-00-09-56.mp4
And here is my Shapes config:
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. :)
I gave up, I kept this GameObject anyway. This is a really weird bug.