All of my verse scripts have broken

Hello, I opened my UEFN editor today and opened verse code to find out all of my Verse scripts have broken. It seems like something has gone wrong with the OnBegin function, I would really like to figure this out pronto cause I don’t know enough about engine-level programming to figure this out on my own. All of my scripts contain the same error:

The function (/InvalidDomain/projectname/scriptname:)OnBegin() in package projectname is ambiguous with this definition:
    function (/InvalidDomain/projectname:)OnBegin() in package projectname

Aswell specifically this caused a problem (I think) with an @editable declaration
The italicized portion specifically has the error

@editable
GunsConversationDevice : conversation_device = *conversation_device{}*

The error states:

This archetype instantiation constructs a class that has the 'transacts' effect, which is not allowed by its context.

This may be all tied to a problem I asked yesterday that I never solved, but idk.

1 Like

Hello! It sounds like your code indentation is not correct!

If your code looks like this:

test_device := class(creative_device):

@editable
GunsConversationDevice : conversation_device = conversation_device{}

Change it to this:

test_device := class(creative_device):

    @editable
    GunsConversationDevice : conversation_device = conversation_device{}

If it already looks like the last piece of code, try and re-indent your code!

Let me know if you are still facing issues!