Graphics not visible when opening the game for the first time or deleting PlayerPrefs
I have been working on a game and recently I tested it in a new computer. The first time I opened it a lot of images from the ui and some 2d meshes werent visible. After closing the game and openning it again, everything worked perfectly. I have been doing more testing and I discovered than this bug also happens every time I use PlayerPrefs.DeleteAll. I have tried giving always a default value when using PlayerPrefs.GetInt/Float etc, and also reloading the first scene the first time it opens, but neither of these solutions work. I am also using a kinda old version of Unity, 2018.2.2f1.
What is happening? How could I solve it?
Your answer
Follow this Question
Related Questions
Energy buildup system 1 Answer
Playerpref Saving Lag 1 Answer
How to prevent to save or send a big json string? 0 Answers
Network Behaviour 0 Answers
How to make a sensitivity slider? 0 Answers