I am developing a game that have 4 collections: menu, credit, game and game over collection. I follow the tutorial but it have only 2 scenes that call each other. In my case, I have 3 scenes
In the menu scene I have 2 options in the gui start and credit. In the game over scene I have restart and menu option. When I click credit in menu, it will load the credit scene but when I click back to menu I see this error
ERROR:GAMESYS: The collection /scenes/game_over/game_over.collectionc could not be unloaded since it was never loaded. Message âunloadâ sent from controller:/loader_controller#controller to controller:/loader_controller#game_over_proxy.
I see the same error when I click menu in game over scene
ERROR:GAMESYS: The collection /scenes/credit/credit.collectionc could not be unloaded since it was never loaded. Message âunloadâ sent from controller:/loader_controller#controller to controller:/loader_controller#credit_proxy.
This is my code
if message_id == hash(âshow_menuâ) then
msg.post("#menu_proxy", âloadâ)
msg.post("#game_over_proxy", âunloadâ)
msg.post("#credit_proxy", âunloadâ)
end