Game works in play-mode, but scripts stop working in build.

Kad Andreatta 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 1


Hey real quick, absolutely love bolt and the key it has provided me to learning programming.

Absolutely LOVE visual programming! 

Great job and a big thanks to everyone involved in the BOLT project.

That being said, I'm in a bit of a rut.

I've built projects in unity using bolt that run perfectly in playmode, but when i build the project the scripts just stop working.

I've tried so many different solutions and am at my wits end.

Is there a definitive combination of unity/bolt?

Currently i'm rocking Unity 2019 with Bolt .net 4x

If there is anything I can do in aiding some troubleshooting, please let me know. 

Thank you!

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

Hi Kad! Sorry you're having this issue.

First, make sure you ran AOT Pre-Build before building: https://ludiq.io/bolt/faq#builds

If that still fails, try enabling Debug Build from the Build Settings window so that we can have an error log of what's happening. Just post the log here and I'll have a look.