Forum begins after the advertisement:
See today's Flash Deals for Cyber Week
Home › Forums › Video Game Tutorial Series › Creating a Metroidvania in Unity › [Part 5] Mana Image with prefab
If you put your player in prefab, then there is a bug “Type mismatch” with the image of Mana Storage remaining on none. The problem generates a bug when changing scenes.
You can try to unpack and repack the prefabs so that the mana is taken into account in the prefab, which no longer generates a bug when changing scenes, but this breaks the operation of the mana UI which always remains at max.
I haven’t found the solution yet.
Ok, sorry, I didn’t go far enough in the tutorial. Just make a singleton with the UI.
Sorry for the topic and thank you for your tutorials, you are bosses.
No problem Aka, glad you managed to fix your issue.
Go to Login Page →