"Internal Compiler Error: Duplicate property [ComponentName] on scope [Blueprint_C]

[link text][1]Writing a small RTS type game where I am deriving different units from a core blueprint class which defines the basic functions of all units.

Without really making any changes, I came across my CoreEntity class becoming uncompilable as a result of an “internal Compiler Error”. I found that there are now 4 duplicate components on my blueprint that are undeletable.

I dont know enough about the backend but I am assuming that unreal creates duplicate instances of the class or components in the background whenever I run the PIE and some sort of bad cleanup might have left these dupicate properties that now crash my internal compiler? I don’t really know any better

I have not written any custom classes or scripts, and I’m relying entirely on blueprint.

I am also worried to close the engine as I am having a problem where uncompilable blueprint classes result in the editor crashing at startup and the project becoming unusable entirely…

Working on a professional project and this one has me very stumped, many thanks to any who can help!

Sure enough, I closed and reopened the engine to find a crashing editor as a result of uncompilable blueprint.

This problem has plagued me all week and the only way out of it has been to revert the culprit files using my git repo and trying to avoid whatever made the asset uncompilable in the first place…

Attached is the error log, it’s first block is:

  !Id:e5ae403ff3a450729de61e3ef8a6fa91
    
    Unknown exception - code 00000001 (first/second chance not available)
    
    Assertion failed: NewRootComponent == NULL || NewRootComponent->GetOwner() == this [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.2\Engine\Source\Runtime\Engine\Private\Actor.cpp] [Line: 2621]

Hi TJ

Thanks for the response, I defaulted to reverting my project once again so I dont have the bug at hand. That said I am 99% sure I will encounter it again today, if I don’t I will still post the rest of the component list, which is the same as in this screenshot except for these duplicates you see

Hi polymatheddy,

Could you also include a screenshot of your entire component list? We can only see a portion in the above screenshot.