I’m doing some play testing of my game now. It’s really strange to notice some difference, especially regarding the data loading’s difference.
So the final packaged build plays perfectly fine.
The in-editor play test shows some loading errors - only when I’m loading from a map that’s not the default map of the editor of the project. Some data didn’t gets erased when I deleted the saved game to restart a map(I used a delete save game node to erase the level’s data). And I checked, the data didn’t get erased even when the save file is gone from my project’s save folders, this is really strange. However if I quit play mode and click play again and load the map the second time, the data is cleared as expected.
The way I do my save system is that I use 3 variables on gameinstance from the main menu to activate each save slot (3 in total), the saved level data will be loaded automatically right after the map is loaded. I don’t know what happens but I notice the load time is different from the editor test and the final in-game test(in-editor the loading is usually doubled or tripled), maybe the in-editor long load time is creating some issues for the saved data or there’s more data cached in the background?
I’m really clueless right now, though the final bulid plays fine, I really wanna find out what’s causing the issue. Someone please help?
Many many thanks!!!