I’m sorry that it’s been a few days. We were able to investigate this further and it’s fixed in our latest internal build. You will see this working properly in a future update.
Unfortunately, we weren’t able to find a workaround for issue in current released versions of editor.
I had same issue in editor - when I recompiled all affected BPs it went away - unfortunately it’s still present in standalone build - that’s why my game is now working correclty only in editor. I hope that fix that was mentioned below fixes that as well.
4.11 Preview 4 is currently out for testing purposes. If you like, please feel free to convert a ‘copy’ of your project to that build and test if this is fixed for you or not.
Keep in mind that it is not final release and doesn’t include all of fixes yet. It’s meant for testing purposes only.
On 4.11 P4.
“Error This blueprint (self) is not a TRASHCLASS_Piece_224, therefore ’ Target ’ must have a connection.”.
Error appears after modify parent class, and recompile his children.
After restart editor, all files compile successful.
Sometimes, on compile, editors crashing. Log:
[2016.02.06-11.50.20:045][468]BlueprintLog: New page: Compile Piece
Fatal error: [File:/Users/build/BuildFarm/build_++UE4+Release-4.11/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp] [Line: 131]
UBlueprintGeneratedClass::GetAuthoritativeClass: ClassGeneratedBy is null. class '/Engine/Transient.TRASHCLASS_Piece_224'
Hi everyone. We have same issue in 4.10.2. So is it fixed in 4.11.2? Dont really wanna to moving next version (and have potential conversion troubles) if this issue still not fixed. Ty.
I am unsure if issue has been fixed in any of newer versions, but I resolved this by simply recreating my class hierarchy from scratch, and not using any Events. Events are functions that have no return value, so I just added a dummy return value for any function that didn’t explicitly need one. Works fine now. It’s a pain, yes, but you can abate it by duplicating member variables, methods, etc. before copy-pasting actual blueprint structure.
LogBlueprint:Error: [compiler MyPlayerController] Error current value (/Engine/Transient.TRASH_Default__MyFuncLib_C_0) of ' Target ' pin is invalid: /Engine/Transient.TRASH_Default__MyFuncLib_C_0 isn't a MyFuncLib_C (specified on pin self)
Can we get a JIRA link to issue, or has it already been “resolved”?
A JIRA wasn’t created for this issue because by time we got a repro case, it was already fixed internally. At least it was fixed in project that BananasGoMoo sent me. I just checked it again in 4.12.5 and it no longer has errors.
However, if you are seeing these now, could you upload a small 4.12.5 test project for me to look at? I was never able to reproduce them from a new project on our side.