I created a class extending from Actor and its called BaseActor. Inside this class i created a custom event which i can override in child classes. From this i extended another class called MasterTower and override that event. No problems till here. Again from MasterTower i extended another class called Core. Inside this class when i try to override the event i get the TRASHCLASS compile error everytime i start the editor. The only workaround for this is to compile the parent class (MasterTower or BaseActor) which makes this error go away.
Have you been able to reproduce this following the same steps in a clean project? I have just tried to reproduce it following your steps and have not seen the same behavior.
I will try to reproduce this in a clean project and let you know. I had this issue in one of my other projects too using 4.10. I’ll try this on 4.11 preview 8 too.
Hey Sean…I tried to reproduced this on a clean project but unfortunately i can’t. I don’t know why its showing in my project only and it happened to one of my other projects too. Maybe this error shows up if you have couple of Blueprints with lots of nodes.
There is a similar issue that was fixed in an internal build. Could you please zip up your project and provide me with a link to Dropbox where I can download it? That way I can test it using our internal build and determine whether the issue has already been resolved.
After testing the project in our internal build, it seems that the issue that you were experiencing with compiling the core blueprint before the master has been resolved. I was able to compile the Core bp without any issues, even if I did not first compile the other two blueprints.
In the meantime, until this fix is available, the workaround would be to compile the other two blueprints before going to compile Core.
Unfortunately i have to re-open this ticket because the error is back and i cant compile new classes extending from another Blueprint after reopening the editor. Same TRASHCLASS error but now editor crashes with this callstack.
One thing you can try is to take the 4.10 version of the project, delete the Saved and Intermediate folders, and convert that project with those folders stripped out to 4.11.
How are you reproducing this crash in your 4.11 project? I still have the project from when you sent it previously, so if you can provide me with repro steps, I can attempt to identify the cause.
These are the exact steps i did that caused this crash:
1: Duplicated (Right click → Duplicate) TowerProjectile class in /Blueprints/Projectiles/ folder.
2: Changed the mesh.
3: Compiled it and saved it.
There was no crash at that moment and i was able to compile and save it. But after closing the editor and opening it, this crash starts happening. And for some strange reason, i cant add any Blueprint scripting to this class (Open Full Blueprint option is gone).
The version of your project that I have does not have a Mesh variable when I’m looking at the Tower Projectile class. Is it possible that you have updated your project since sending it to me a few weeks back? If so, could you send me the updated version?
I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.