Recently I decided to add into my game some cosmetic "touch" and I've installed Treasure Popup plugin. I have modified version of this plugin by @Kyo Panda from this thread.
Problem with this plugin occurs when the "treasure" name is floating on screen and in the same moment I decide to do one of the followings:
- go to main menu with ESC key
- start a battle
- transfer to another location.
When one of these three events occurs while the floating text is still visible game crashes with error
I checked console for more details and I think it will have to do something with SceneManager but I'm not 100% sure of that.
Problem with this plugin occurs when the "treasure" name is floating on screen and in the same moment I decide to do one of the followings:
- go to main menu with ESC key
- start a battle
- transfer to another location.
When one of these three events occurs while the floating text is still visible game crashes with error
Code:
Type Error: Cannot read property "x" of undefined.
I checked console for more details and I think it will have to do something with SceneManager but I'm not 100% sure of that.