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

UE5 Compatibility? #16

Open
jg33 opened this issue Jul 5, 2022 · 3 comments
Open

UE5 Compatibility? #16

jg33 opened this issue Jul 5, 2022 · 3 comments

Comments

@jg33
Copy link

jg33 commented Jul 5, 2022

Hi- I'm trying to implement this plugin on a UE5 project. I was able to get it working by adding the following to the top of the build script:
#if UE_5_0_OR_LATER using EpicGames.Core; #else using Tools.DotNETCommon; #endif

However, I'm getting some issues when I build. Compiling is fine, and I can add new functions that appear in BPs, but when I try to build for iOS, it seems to be trying to compile my new .mm file as c++. It's throwing a bunch of syntax errors. Do I need to do anything special to make it treat the code like obj-c? Is it a UE5 thing? It seems to build all of the example .mm ok.

Thanks!

@antonmikhet
Copy link

hello, where you add this string "#if UE_5_0_OR_LATER using EpicGames.Core; #else using Tools.DotNETCommon; #endif"?

@jg33
Copy link
Author

jg33 commented Nov 15, 2022

its been a while, but I believe I replaced this line:

@antonmikhet
Copy link

thanks

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

2 participants