Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9717

NPC Character Definition assets fail to validate when using a custom verse behavior with the "event" type referenced

$
0
0

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Assets

Summary

If you use a custom verse behavior/class inside a NPC Character Definition asset, and your custom verse class for that behavior has a type “event” ANYWHERE within the class (including inside references to other classes) the NPC Character Definition will FAIL to validate!!!

Steps to Reproduce

To reproduce this, copy & paste the class below into a verse file, then build verse, and create a NPC Character Definition asset and place this class into the “NPCBehavior Script” slot after setting behavior to be “verse behavior”. Try these steps, then go to the class and remove the event type constant variable. You’ll see it then validates.
invalid_npc_behavior<public> := class(npc_behavior){ BasicEvent : event() = event(){} }

Expected Result

The expected result is that the NPC Character Definition asset should validate

Observed Result

The NPC Character Definition fails to validate when it should

Platform(s)

PC

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 9717

Trending Articles