There are several reasons why your game data may reset when you run tests in Roblox Studio:
Your code may be resetting the game data intentionally. If you have code that resets any variables, data stores, or other data when the game starts, this could be causing the reset.
The game may be crashing during testing, which can cause it to reset to its default state. You may need to look into any errors or warnings that appear in the console when the game crashes to determine the cause.
You may be unintentionally resetting the game data by wiping the server. If you reset the server during testing, this will wipe all game data and start the game from scratch.
To prevent your game data from resetting during testing, you should make sure that your code is not intentionally resetting any data, check for any errors or warnings in the console during testing, and avoid wiping the server unless necessary.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-12 05:31:04 +0000
Seen: 11 times
Last updated: May 12 '23
How can I make the game in renpy wait for player action before progressing?
Does on_failure_callback run exclusively on the task level and not on the level of the entire DAG?
What is the process for using pnpm to build a single workspace only?
Why are commands unable to run on Windows PIP due to an invalid value for require-virtualenv?
What is the process to use Docker to deploy a Next.js application on HTTPS (SSL connection)?
Is it possible to run the ng-click function through the console?
How to incorporate Angular Universal into a pre-existing Angular 14 application?