Below are error messages presented every time editor is opened.
One or more blueprints has an unresolved compiler error, are you sure you want to Play in Editor?
Error This blueprint (self) is not a TRASHCLASS_GrabBase_62, therefore ’ Target ’ must have a connection.
These errors only appear when launching PIE with instances of blueprints that, in their event graphs, call custom events from a parent blueprint. Strangely, compiler errors are resolved by simply clicking Compile button on parent class that created event, despite fact that it already shows a clean, error-free compile. Below is a picture of erroneous node in child.
This issue only appeared after upgrading from 4.8 to 4.9. We would like to maintain use of custom events, instead of overloading function calls. While recompiling parent blueprints is not a big deal, it gets tiresome to do so every time editor is opened, and for every single parent class that defines custom events.
We haven’t heard back from you in a few days, so we are marking this post as resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.
I am also having a similar issue, but not upgrading from 4.8 to 4.9 (just using 4.8).
@TJ I realise this isn’t a lot to go on, but it is very hard from our end to work out a repro - it seems to be caused by inherited blueprints, (mine at least a blueprint structure) and events, but beyond that, fact that it compiles if you press compile suggests there isn’t some obviously incorrect setup.
If you want to pull my project and investigate, DM me, but it certainly isn’t a minimal project by any stretch of imagination.
I’m limited in ways I can pull projects from outside sources. If it’s something you can PM me a link over Forums to download, that’s fine. However, I’m not able to connect to any outside source control in order to get it.
Is it possible to make a stripped down version that has error?
I tried and wasn’t able to recreate it. I can’t remember what might have caused it prior to our migration to 4.9 but I do recall it only happened afterwards, in my case. I have suspicions that class renaming may have contributed; I’ve never seen TRASHCLASS related errors before that.
I originally started project in 4.8.3 and used launcher to convert it to 4.9.0 and now I’m on 4.9.2. So maybe follow steps 1-4 in 4.8.3 and then upgrade project and continue steps after that. I can’t really upload my project since its pretty large now (well I could but it would take a while). If you want me to, I’ll upload that and pm it to you.
I’m sorry that it’s been a few days. I was able to reproduce issue in project you sent.
I would also like to reproduce it in newest release 4.10 to see if it still happens. I attempted to convert your project but so far I haven’t been successful. Could you give it a try and see if it is still happening there?