I have been having some issues when trying to create a screen switch. Basically what I am trying to do is have it so that when I click on a gui, it switches to another collection. Here is the scripts that should be communicating:
Most likely I will need to provide more screenshots of different things to allow you guys to assist in finding the problem. If you need me to provide anything in particular please ask.
Thank you all so much for your help!
This was an issue in my code, but it did not fix the problem. I really appreciate the in depth look at the code that was written, but it did not seem to fix the problem. Are there any other screenshots you might need to help?
What may help is that I am referencing this video starting at the provided time stamp.
This error possible if you are using the wrong url (typo in URL/object or collection was removed/collection never exist). print(msg.url()) - in init method would show you right path.
If you didn’t see this print() in the console, that means that your collection wasn’t created. Are you sure that you create “loading” collection using collectionproxy or set as the main collection in game.project?
That might be the issue, but I’m not sure how to tell if loading collection has been created. I set it as the main scene just to test it but the error still appeared… I am also not sure how to check if the URL is correct either…