I found this bug by picking up items on the ground, go to another scene and go back. Then i press L to load the save file, all the pickup items appear once again. Apparently, when I try printing out like the image below:
The result is:
The load file works fine but after loading the scene, isCollected() return false even though there’s nothing inside all the pickup spawners:
I thought i made mistakes somewhere so i tried download the course github code but this problem also occurs.
How can i solve this?