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

Use of undeclared Identifier GetGameInstance #185

Open
krishnabhat1995 opened this issue Nov 9, 2022 · 1 comment
Open

Use of undeclared Identifier GetGameInstance #185

krishnabhat1995 opened this issue Nov 9, 2022 · 1 comment

Comments

@krishnabhat1995
Copy link

I am trying to install Rosintegration plugin on unreal engine 4.27. I get the following error while trying to compile. It says undeclared identifier "GetGameInstance". Did you mean "UGameInstance"?. GetGameInstance is used when i do c++ topic subscribe. I was not able to find GetGameInstance either. Has anyone come across it before ?

thanks in advance

@tsender
Copy link
Contributor

tsender commented Dec 1, 2022

Posting your actual compile error (the error and the code in question) instead of a summary would be more helpful. Looking at UE's documentation, they should still have the GetGameInstance() function. Are you casting to a UROSIntegrationGameInstance?

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