Ask Your Question
0

Why does my game data always reset when I run tests in Roblox Studio?

asked 2023-05-12 05:31:04 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-12 05:32:02 +0000

pufferfish gravatar image

There are several reasons why your game data may reset when you run tests in Roblox Studio:

  1. 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.

  2. 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.

  3. 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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2023-05-12 05:31:04 +0000

Seen: 11 times

Last updated: May 12 '23