I was messing around with some images, with the Image converter, and I think I pasted something faulty into the JavaScript editor. Now, I can’t even open the tab and not get hit with an error.
Project Details:
Name: ULTRAKILL (Pre-Alpha… [I forgot]
The project is big, a few thousand lines of code. (8000-9000)
Here’s everything that happened:
I pasted a few lines of code, which converted to gray blocks in, then a corrected version in the Js editor.
I switched to blocks again, and the screen went black.
I reloaded the page, then I was hit with the error.
Can someone tell me how to fix this? (Developers, etc.)
My hands are shaking like crazy seeing all my time go to waste. I really don’t want to lose my project.
Sorry to bother you again, @richard, and thank you for helping me recover my project previously.
I’ve, again, run into another serious problem with my project.
The MakeCode browser editor keeps running out of memory and crashing. I’ve checked its memory usage at around 3.6–4 GB in Microsoft Edge (I have 16GB of ram on my laptop).
Some additional information:
The project has grown considerably since my previous problem, I think it’s at 10,000–20,000 lines of code. The project still has “ULTRAKILL” in its name though.
I’ve already tried closing other tabs, stopping the simulator while editing, and collapsing functions.
My custom ray-casting engine is a separate imported local extension, containing much of the game’s rendering functionality.
The game itself can compile and run, but MakeCode eventually crashes in the editor or even while editing assets. The error states that it has run out of memory?
I’ve already wasted enough time not updating the game at all, and now that I’ve got to it everything just doesn’t want to work anymore.
Is there anything else I could try to improve the editor’s memory usage or prevent these crashes? Or could this be a limitation or memory-management issue with the browser editor?
I’d really appreciate some help. Thank you again previously for helping me out too.
yeah, makecode has problems with truly giant games.
one thing you can do is disable version history, which i will not list the steps to do here but if you send me your project i will send you back a version with version history turned off. this isn’t necessarily guaranteed to fix anything though, but it might help a bit. obviously, you’re going to want to back up your code often if you decide to use this version of the project.
The main project also has about 19,000+ lines of code, the main game also includes stuff from the custom ray-caster extension. Thanks again for helping out! (sorry if I’m bothering you too much)
Hi Richard, just checking whether you’ve had a chance to look at the project. No rush, I just wanted to know whether there’s been any progress or whether you need anything else from me, since I’ve been unable to continue and update the game for a while now…
Might have to mention him, since he might have forgotten.
Again:
Hi @richard, just checking whether you’ve had a chance to look at the project. No rush, I just wanted to know whether there’s been any progress or whether you need anything else from me, since I’ve been unable to continue and update the game for a while now…