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

ReceiveTick doesn't fire on UE 4.24.2 (possibly earlier versions also) #267

Open
itaib opened this issue Feb 21, 2020 · 0 comments
Open

ReceiveTick doesn't fire on UE 4.24.2 (possibly earlier versions also) #267

itaib opened this issue Feb 21, 2020 · 0 comments

Comments

@itaib
Copy link

@itaib itaib commented Feb 21, 2020

This seems to be due to a change in AActor::Tick that adds this check before calling the blueprint ReceiveTick:
if (GetClass()->HasAnyClassFlags(CLASS_CompiledFromBlueprint) || !GetClass()->HasAnyClassFlags(CLASS_Native))
while UnrealJS sets some classes as native in ExportUnrealEngineClasses.

ReceiveTick works when adding the CLASS_CompiledFromBlueprint flag like so:
Class->ClassFlags |= (CLASS_Native | CLASS_CompiledFromBlueprint);
but setting the class to both CLASS_Native and CLASS_CompiledFromBlueprint seems contradictory, just by the names of the flags.

Perhaps someone with more knowledge on the flags could answer if adding that flag is ok and shouldn't create side-effects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.