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

Colyseus throws compiler error on package in UE 5.0 #3

Open
elliotthall opened this issue Apr 3, 2023 · 0 comments
Open

Colyseus throws compiler error on package in UE 5.0 #3

elliotthall opened this issue Apr 3, 2023 · 0 comments

Comments

@elliotthall
Copy link

elliotthall commented Apr 3, 2023

When packaging a Charisma project for windows in UE 5.0, Colyseus threw this compiler error (it doesn't show up in editor builds):

C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

Adding the compiler flag to the build target seems to have fixed this. If you go into *.target.cs and add:

bOverrideBuildEnvironment = true;
AdditionalCompilerArguments = "/EHsc";

It compiles.

@elliotthall elliotthall changed the title Colyseus throws compiler error on package Colyseus throws compiler error on package in UE 5.0 Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant