Hi! I defined an event dispatcher in an AnimNotify but compiling error occured when I call it in my function, like this:
I‘m confused about this error log and didn’t know how to make it right. Thanks for your attention!
Hi! I defined an event dispatcher in an AnimNotify but compiling error occured when I call it in my function, like this:
Greetings @user_a1cea97d35fc6442663cca1ffa2182e7edbb332aed697d6ad6a0c0
Could you provide the full error log for me? I’d be happy to take a look! Also, which version of UE is this with?
Here:
Function Call New Event Dispatcher can modify state and cannot be called on because it is a read-only Target in this context
[5610.45] Compile of ANS_MonsterDamageDuration failed. 1 Fatal Issue(s) 0 Warning(s) [in 49 ms] (/Game/MyTest/Characters/Npc/Monster/Anims/AnimNotifies/ANS_MonsterDamageDuration.ANS_MonsterDamageDuration)
The Engine version is 5.4.4. Did not try it with other versions . Thank you very much!
I’m not positive. But, is this the same issue you’re having? Animnotify blueprint is const 4-27
Yeah, I have understood already from the question. But I thought maybe it is better to disable creating eventgraph in animation notifies, that may cause unnecessary confusion. Thanks!!!
I see. You’re welcome and I hope you have a great day!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.