Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Script compiler crashes if "Generate C files" is checked #53

Open
hogsy opened this issue Feb 26, 2024 · 0 comments
Open

[BUG] Script compiler crashes if "Generate C files" is checked #53

hogsy opened this issue Feb 26, 2024 · 0 comments
Labels

Comments

@hogsy
Copy link
Owner

hogsy commented Feb 26, 2024

Summary

When you attempt to compile the scripts with the mentioned option enabled, the engine will crash.

It appears this is because the file pointer for AI2C_gf_Model is not set for whatever reason before it attempts to output anything.

Steps to Reproduce

  1. Open up the editor
  2. Load Universe, or whatever, under the AI script editor
  3. Enable the "Generate C files" option
  4. Now compile all the scripts
  5. crash

Expected Result

I suppose it's supposed to output to a collection of C files representing the transpiled output of the scripts.

Actual Result

Crash.

Screenshots or Videos

image

Additional Information

@hogsy hogsy added bug Something isn't working bug-type:crash priority:medium labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant