# The engine does not start and crashes \[SOLVED\]

**URL:** <https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125>\
**Category:** Questions\
**Created:** [August 22, 2021, 4:25pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125 "2021-08-22T16:25:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![VLAHIN](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlahin/32/25745_2.png) [@VLAHIN](https://forum.defold.com/u/VLAHIN)\
**Post date:** [August 22, 2021, 4:25pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/1 "2021-08-22T16:25:55Z")

</div>

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.

[![](https://img.youtube.com/vi/eJ8hAuUa5PI/maxresdefault.jpg "bandicam 2021 08 22 20 35 45 330") ](https://www.youtube.com/watch?v=eJ8hAuUa5PI)

[![](https://i.ytimg.com/vi/B9nFpTLqtXI/hqdefault.jpg "bandicam 2021 08 22 20 36 44 464") ](https://www.youtube.com/watch?v=B9nFpTLqtXI)

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.

[![](https://img.youtube.com/vi/abfH46A1h3c/maxresdefault.jpg "22 августа 2021 г.") ](https://www.youtube.com/watch?v=abfH46A1h3c)

Here are some more logs for that day.  
[hs\_err\_pid6912.txt](https://forum.defold.com/uploads/short-url/sFimDDJ9wofu317VHqPjzzKEbue.txt) (103.9 KB)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 22, 2021, 7:14pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/2 "2021-08-22T19:14:59Z")

</div>

> [@VLAHIN](#):
>
> All this happened after I tried to make particles today

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

---

<div class="post-metadata">

**Author:** ![VLAHIN](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlahin/32/25745_2.png) [@VLAHIN](https://forum.defold.com/u/VLAHIN)\
**Post date:** [August 22, 2021, 7:30pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/3 "2021-08-22T19:30:32Z")

</div>

> [@britzl](#):
>
> 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”

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 22, 2021, 8:16pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/4 "2021-08-22T20:16:34Z")

</div>

> [@VLAHIN](#):
>
> 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:

> **[Editor Logs - Editor overview](https://defold.com/manuals/editor/#editor-logs)**
>
> The editor allows you to browse and manipulate all files and folders in your game project in an efficient manner. Editing files brings up a suitable editor and shows all relevant information about the file in separate views. | This manual gives an...

Can you please share the log here?

---

<div class="post-metadata">

**Author:** ![VLAHIN](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlahin/32/25745_2.png) [@VLAHIN](https://forum.defold.com/u/VLAHIN)\
**Post date:** [August 22, 2021, 9:35pm UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/5 "2021-08-22T21:35:44Z")

</div>

> [@britzl](#):
>
> Can you please share the log here?

[editor2.2021-08-21.txt](https://forum.defold.com/uploads/short-url/o45QOuLc1hkc8aoEMB9QACLiK61.txt) (131.0 KB)  
[editor2.2021-08-22.txt](https://forum.defold.com/uploads/short-url/kBiKD3BKOc5Q3JkuTAeMMUa0x1z.txt) (776.6 KB)  
[editor2.2021-08-23.txt](https://forum.defold.com/uploads/short-url/nI5TuAYyp5mKUc3PpNKAlYAWPUl.txt) (179.5 KB)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 23, 2021, 4:49am UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/6 "2021-08-23T04:49:44Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![VLAHIN](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlahin/32/25745_2.png) [@VLAHIN](https://forum.defold.com/u/VLAHIN)\
**Post date:** [August 23, 2021, 5:56am UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/7 "2021-08-23T05:56:43Z")

</div>

> [@britzl](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 23, 2021, 7:15am UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/8 "2021-08-23T07:15:51Z")

</div>

Thanks. I get the same problem as you. To pinpoint what is wrong I [downloaded](http://d.defold.com/stable) the [Defold command line tool Bob](https://defold.com/manuals/bob/) and built the project from the commandline:

```lua
~/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:

```lua
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!

---

<div class="post-metadata">

**Author:** ![VLAHIN](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/vlahin/32/25745_2.png) [@VLAHIN](https://forum.defold.com/u/VLAHIN)\
**Post date:** [August 23, 2021, 7:27am UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/9 "2021-08-23T07:27:22Z")

</div>

> [@britzl](#):
>
> With the particle effect removed I also removed the build folder and was then able to open the project again!

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

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [August 23, 2021, 7:35am UTC](https://forum.defold.com/t/the-engine-does-not-start-and-crashes-solved/69125/10 "2021-08-23T07:35:27Z")

</div>

> [@VLAHIN](#):
>
> 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.
