Blueprint Compile Error

Hello, me again.

After checking my c++ code for the 100th time I am still getting this error and I am unsure on how to fix it. from what I can tell, the blueprint is trying to create something that I have created in the c++ code.
https://prnt.sc/qr6ras

Much help would be greatly appreciated

Thanks

1 Like

Your UI blueprint?

yep, the UI blueprint

Sorry, I’m asking to see it.

oh, sorry. here is a screenshot of it:

And your code? Mainly interested in the header but cpp might be useful too.

header file:


cpp:

Thanks

Im not actually the TA for this course and I’m not seeing anything particularly wrong with that so… @sampattuzzi.

Could it be that the type isn’t the one listed in the C++? You have it there as UEditableTextBox.

An rebooting the editor is always a good shout.

@sampattuzzi restarting the editor didn’t help much, but unticking the ‘is variable’ removed the error ‘Tried to create a property’ which might be good.

the C++ type for the editable text references ‘EditableText.h’, is this what I want for the Reference in C++ instead of EdiatableTextBox?

Thanks

changing it to UEditableText and including the correct header file fixed the issue.

Now to continue with the the game lol

That’s the ticket!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms