Hello.
I recently deployed a demo (tested both encrypted and non-encrypted)
where after deployment the game runs fine.
However, when I pack it using EnigmaBox -- the game doesn't crash and still loads, but becomes stuck at an infinite loading screen.
The infinite loading screen also happens usually after the first time the game boots (regardless of deployment and even during playtest) but a refresh (F5) usually fixes this issue.
Any insights would be appreciated. Thank you!
From what it looks like, there's a problem with loading. However, it can be related to either software - trying to load a file that doesn't exist or a large file - or hardware - old or malfunctioning hardware - and it's really hard to diagnose precisely without any details. Is there any sort of console output when it gets stuck?
Either way, I cannot recommend EnigmaVirtualBox, especially if you intend to wrap all files inside it, because it means that the entire file needs to be loaded to RAM. For weaker computers this means crashes after 30 minutes of gaming thanks to memory leaks.
Apart from spaces in your game folder it looks like there is a plugin that tries to preload data. That can be a problem if you use a custom wrapper like Enigma virtualbox, because it may try to search for files that are no longer there.
Another reason might be that you have a plugin file called three.min.js and the problem might be that enigma doesn't know how to interpret it, treating it as three.min file as it builds its folder system. Try renaming it to three.js with necessary changes too.
Ok I will do further testing later down the road since I'm not actually at the point of deploying my projects -- I just encountered this issue when I was testing deployment before the project got larger.
As far as wrapper, I might not end up using EnigmaBox (due to issues you mentioned) -- but would you have any recommendations on how to protect the files more securely than what MV offers internally as I noticed there are RMMV decryptors than can easily bypass encryption and from what I remember, some files are still accessible after deployment (like plugins)
I'm wondering what proper protocol would be for deployment when considering to release on platforms like Steam.