The engine does not start and crashes [SOLVED]

My project that I was working on for about 2 weeks stopped launching. All this happened after I tried to make particles today. I ran the particles through the gap in the editor and started the game for testing at the same time. I didn’t know I shouldn’t do that, and something broke. My computer froze when I did this. I had to turn off the electricity to restart my computer.
In the video, I show how another project is loaded. And how the project I need is not loaded.

Also, the engine periodically crashes the video card driver. My monitor turns off completely and after turning it on writes that the video card driver did not respond and was rebooted. I also downloaded games from other developers for windows, they did not start for me, the video driver also crashed.
Here’s a video of the proof, captured on the phone.

Here are some more logs for that day.
hs_err_pid6912.txt (103.9 KB)

Ok, and this also happens if you start and empty project and add some particle effects?

I’m not sure if this is because of the particles. Just the last thing I did was particles. I deleted the particle file outside the editor and removed the line that launched the particles from the code, but the project still does not open. The video shows that the crash is happening at the moment “Initializing editor util.http-server”

There should be an editor log file which will likely contain information about why the editor doesn’t start:

Can you please share the log here?

editor2.2021-08-21.txt (131.0 KB)
editor2.2021-08-22.txt (776.6 KB)
editor2.2021-08-23.txt (179.5 KB)

Ok, there’s a crash at startup when loading the project. Could you please share the project? You can zip and email it to bjorn@defold.se (exclude build, .git and .internal folders)

Sent

2 Likes

Thanks. I get the same problem as you. To pinpoint what is wrong I downloaded the Defold command line tool Bob and built the project from the commandline:

~/Downloads/SpaceRun > java -jar bob.jar --archive build
Working...Cleaning engine... ...done!
2147483647% ...done!           
Reading tasks... ...done!
Building... 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 98% ...done!
 100% ...done!

The build failed for the following reasons:
ERROR game/meteors/meteor1.go:0 the component '/game/meteors/destoy_meteor.particlefx' can't be found

At this point I knew that game/meteors/meteor1.go references a particle effect that doesn’t exist. It’s bad that the editor is unable to recover from this, but to solve it I opened game/meteors/meteor1.go in a text editor and removed the particle effect. This bit here:

components {
  id: "destoy_meteor"
  component: "/game/meteors/destoy_meteor.particlefx"
  position {
    x: 0.0
    y: 0.0
    z: 0.0
  }
  rotation {
    x: 0.0
    y: 0.0
    z: 0.0
    w: 1.0
  }
}

With the particle effect removed I also removed the build folder and was then able to open the project again!

1 Like

Thanks, this helped to solve the problem.
How do I use particles to avoid repeating this?

I’m not sure what went wrong the last time, but I recommend that you try again.

BTW: I would suggest that you try to avoid spaces in the project path (SpaceRun vs Space Run) if you can as it could lead to problems.