# Crash on run in Godot 3.5.3 (0.6.4-alpha)

**URL:** https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962
**Category:** Bug Reports
**Tags:** crash
**Created:** [November 2, 2023, 5:18pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962 "2023-11-02T17:18:47Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Eli](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/e/a9a28c/32.png) [@Eli](https://community.revolutionarygamesstudio.com/u/Eli)
#### Post date: [November 2, 2023, 5:18pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/1 "2023-11-02T17:18:47Z")

</div>

Hi,  
Really inspired by the project, but am failing to get the latest release to run

- I cloned the repository from github (version 0.6.4-alpha) and also cloned RevolutionaryGamesCommon into the correct folder.
- I opened the solutions of both in Visual Studio.
- I imported the game into Godot 3.5.3 mono then when I pressed play, the game crashed after the logo and I got this error: [Crash Report](https://pastebin.com/xMWVJ0Fm)

---

<div class="post-metadata">

### Author: ![Oliveriver](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/oliveriver/32/8081_2.png) [@Oliveriver](https://community.revolutionarygamesstudio.com/u/Oliveriver)
#### Post date: [November 2, 2023, 6:11pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/2 "2023-11-02T18:11:46Z")

</div>

This is because our source code has recently been updated to use native libraries as part of a major performance refactor. The crash happens because you don’t have the native library builds yet.

You have a few options:

- If you’re happy to just have the latest released version and not the current in-dev functionality, get the game via [our launcher or Steam](https://revolutionarygamesstudio.com/releases/) instead of building from source.

- Go back to a version of the repo before the refactor started. Checking out any commit to master before 27th October should do.

- Build the native libraries yourself. Since you have Visual Studio installed already, you should just need to run `dotnet run --project Scripts native Build Install -g "Visual Studio 17 2022"` (replacing Visual Studio 17 2022 with whatever version you have) from the root of the Thrive repo. The game should then work the next time you run it, but the refactor is currently only partially complete, so a lot of the game mechanics have yet to be re-implemented with the new architecture.

---

<div class="post-metadata">

### Author: ![Eli](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/e/a9a28c/32.png) [@Eli](https://community.revolutionarygamesstudio.com/u/Eli)
#### Post date: [November 3, 2023, 10:53am UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/3 "2023-11-03T10:53:46Z")

</div>

Thanks for the help, but it I get an error when trying to run `dotnet run --project Scripts native Build Install -g "Visual Studio 17 2022"`.

- My visual studio version is: Visual Studio Community 2022 version 17.7.6
- I have the .NET desktop development package installed on it
- I get this error log : [Error log when running command](https://pastebin.com/0B802331)

For now I will try just get a repo before the latest version

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [November 3, 2023, 11:41am UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/4 "2023-11-03T11:41:47Z")

</div>

Did you install cmake? That’s listed as the one other thing (besides a compiler) as a native build dependency in the build instructions:

> <https://github.com/Revolutionary-Games/Thrive/blob/master/doc/setup_instructions.md#native-libraries>

I’ll add an explicit check in the build code for cmake that’ll give a nicer error message if it is missing.

---

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [November 11, 2023, 6:59pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/5 "2023-11-11T18:59:59Z")

</div>

I ran into an issue:

```auto
Performing operation Build
Building ThriveNative for local use (Windows) with CMake (hopefully all native dependencies are installed)
CMake Error at CMakeLists.txt:4 (project):
  Generator

    Visual Studio 17 2022

  could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
CMake configuration failed (exit: 1). Do you have the required build tools installed?
Operation failed on: ThriveNative for platform: Windows

```

I think I have CMake installed properly and I have Visual Studio installed on my computer.

Sorry for taking your time, but most of my programming experience is purely hobbyistic game making on game engines without diving deeper into filesystem stuff etc.  
But if it’s necessary, I’ll wait for precompiled native libraries to be available for download. : )

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [November 11, 2023, 7:04pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/6 "2023-11-11T19:04:34Z")

</div>

> [@C009](#):
>
> But if it’s necessary, I’ll wait for precompiled native libraries to be available for download. : )

They are available for download since yesterday. Check the native libraries section of the setup instructions again…

> [@C009](#):
>
> I think I have CMake installed properly and I have Visual Studio installed on my computer.

Either you don’t have Visual Studio 2022 installed (maybe a different version?), your cmake is so old it doesn’t know about that new Visual Studio, or there’s some environment problem that VS is not visible by default in whatever command prompt / terminal emulator you are using to run the commands. You can most likely fix all 3 problems by opening the visual studio command prompt which forces a single version of VS to be available in the environment and in my experience that makes everything _much_ more likely to work correctly.

---

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [November 11, 2023, 8:40pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/7 "2023-11-11T20:40:45Z")

</div>

Thank you for your reply, but it didn’t fully fixed the problem.

> [@hhyyrylainen](#):
>
> Either you don’t have Visual Studio 2022 installed (maybe a different version?)

I’m using VS 2022, so it’s probably not the problem.

> [@hhyyrylainen](#):
>
> your cmake is so old it doesn’t know about that new Visual Studio

I installed the newest (currently) cmake ( 3.28.0-rc4) so that’s not the problem either.

I also forgot to pull new commits to my local repo but it’s done now.

> [@hhyyrylainen](#):
>
> or there’s some environment problem that VS is not visible by default in whatever command prompt / terminal emulator you are using to run the commands.

Before your reply I was trying to use Git Bash, but now I used VS command line:

1. I opened Thrive folder with VS.
2. Tools \> command line (or command prompt, my VS isn’t English) \> command line for developers
3. I entered the command for installing precompiled libraries as written on setup\_instructions.md.

(I translated it since my VS isn’t set to English)

```auto
Thrive\Scripts\Program.cs(282,37): error CS0246: Cannot find type name or name spaces „SymbolUploadOptionsBase” (missing using directive or assembly reference)

Thrive\Thrive\Scripts\NativeLibs.cs(985,9): Cannot find type name or name spaces „PrecompiledObjectVersionDTO” (missing using directive or assembly reference)

Thrive\Thrive\Scripts\NativeLibs.cs(43,22): error CS0246: Cannot find type name or name spaces „SymbolHandler” (missing using directive or assembly reference)

Thrive\Thrive\Scripts\ContainerTool.cs(69,68): error CS0115: „ContainerTool.RunImageBuild(ProcessStartInfo, bool, CancellationToken)”: no override methods found 

```

Sorry for taking your time again…

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [November 11, 2023, 8:47pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/8 "2023-11-11T20:47:51Z")

</div>

> [@C009](#):
>
> `Thrive\Scripts\Program.cs(282,37): error CS0246: Cannot find type name or name spaces „SymbolUploadOptionsBase” (missing using directive or assembly reference)`

This seems like your git submodules are not up to date.

```auto
git pull
git submodule update --init

```

Edit: this is called out as the most likely reason why scripts fail to run: [Thrive/doc/setup\_instructions.md at master · Revolutionary-Games/Thrive · GitHub](https://github.com/Revolutionary-Games/Thrive/blob/master/doc/setup_instructions.md#build-or-script-running-fails)

---

<div class="post-metadata">

### Author: ![C009](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/c009/32/12168_2.png) [@C009](https://community.revolutionarygamesstudio.com/u/C009)
#### Post date: [November 11, 2023, 8:59pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/9 "2023-11-11T20:59:02Z")

</div>

Thanks, I can now run Thrive on Godot. 🙂 👍

By the way, I cannot run Thrive/src/late\_multicellular\_stage/MulticellularStage.tscn scene directly (via Godot). It is because of the refactor I suppose? Or not related?

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [November 11, 2023, 9:05pm UTC](https://community.revolutionarygamesstudio.com/t/crash-on-run-in-godot-3-5-3-0-6-4-alpha/6962/10 "2023-11-11T21:05:55Z")

</div>

I skipped fixing the later stages, so they are currently broken. And are lower priority than getting the microbe stage working again. Though it is just a pretty minor thing that prevents late multicellular stage from running. It was relying on one microbe stage feature I removed so it needs a temporary hack to function until we get to the stage properly and start implementing it for real
