When I test my game in studio, it works perfectly, but when I play it from the website it doesn’t work!
I have videos of what happens, but I don’t know how to post them, so if someone told me how to that would be great.
Same thing is happening to me. No errors and stuff like that. It’s weird.
How are you testing these games in Studio? Are you using Play Solo or Start Server / Start Player?
You’re going to have to debug it manually or through the developer console. I had this happen due to a rogue Heartbeat
in my codebase. Definitely double check your code.
I’m doing play solo, but I’ll try start server now that you mention it.
I figured out that somehow it doesn’t save the edits I’ve made to the scripts. even though it does save the edits when I playtest it, it doesn’t when I play it from the website.
Are you publishing your place or saving it?
If you only save it, changes will not show up on the website version.
If you publish it, changed are saved and uploaded onto the website version.
The problem could also stem from you relying on the way Studio’s Play Solo server system works as opposed to the normal system.
Perhaps revisiting your code could help?
Go to view > drafts and commit the changes you made to your scripts
NEW FEATURE: You now have to save script drafts.
I know it may be new, but it allows a double check for script changes to be made. Open up the “View” tab, where you can find “Team Create” and select “Drafts.” From this, the “Drafts” menu may appear on the bottom right of your screen; select the script you want saved, and click “commit.” If this does not appear, either discard the draft after saving the script and make a new one, OR if it says to “compare edits with server” compare edits, and follow the subjective instructions. These instructions from the second option I listed may be different across scripts with that requirement. I hope this helps.
If you need a tutorial, watch this video. https://youtu.be/6wuZJTiwCtM
P.S. This is either the case, if an ONLY IF, the problem is happening with TC on.
Videos of outside and inside studio please?
As a joke; I am going to now commit s - ave script draft.
Hey, were you ever able to fix this?