I can't seem to export my project if i have any scripts attached

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bananacrabman

I’m trying to export my project however whenever i open the exported application it will crash almost as soon as it is opened. It shows the godot splash screen then it will close instantly. My project works perfectly fine in engine and there is no major clashes in code that causes the project to crash. I have since set up a test scene, the scene will allow me to run the application fine if no nodes have any scripts attached. I have been able to run the application with my player without any scripts however if it has any scripts even a base script with only a _ready(): pass function the application won’t run. does anyone know why this is happening?

Are there any errors in the console when you run it?

SteveSmith | 2022-11-16 08:43

nah no errors at all, I’m thinking it might have to do with my export settings. though i haven’t adjusted them much. I did add encryption that’s really the only thing i could think of that might be causing issues.

Bananacrabman | 2022-11-16 09:20

:bust_in_silhouette: Reply From: Bananacrabman

yeah as it turns out my issue was with encryption, I turned it off and it started working. I mustn’t have been doing it correctly.