# \[ SOLVED \] Actor component c++ disappears from actors and not being initialized

**URL:** <https://forums.unrealengine.com/t/solved-actor-component-c-disappears-from-actors-and-not-being-initialized/2626300>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, bug-report, CPP\
**Created:** [August 1, 2025, 11:42am UTC](https://forums.unrealengine.com/t/solved-actor-component-c-disappears-from-actors-and-not-being-initialized/2626300 "2025-08-01T11:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuvr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nuvr/32/984040_2.png) [@Nuvr](https://forums.unrealengine.com/u/Nuvr)\
**Post date:** [August 1, 2025, 11:42am UTC](https://forums.unrealengine.com/t/solved-actor-component-c-disappears-from-actors-and-not-being-initialized/2626300/1 "2025-08-01T11:42:40Z")

</div>

Any actor component I create with c++ disappears from actors, etc.  
reproduces on clean project.

```auto
[AssetLog] D:\New folder\test\Content\NewBlueprint.uasset: VerifyImport: Failed to find script package for import object 'Package /Script/MyProject'

Unable to load Bombo_GEN_VARIABLE with outer BlueprintGeneratedClass /Game/NewBlueprint.NewBlueprint_C because its class (Bombo) does not exist

[AssetLog] D:\New folder\test\Content\NewBlueprint.uasset: [Compiler] Component class is not set for 'Bombo' - this component will not be instanced, and additional warnings or errors may occur when compiling Blueprint 'NewBlueprint'.

```

I was unable to reproduce this on earlier versions of the engine.

---

<div class="post-metadata">

**Author:** ![zoe\_wxq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoe\_wxq](https://forums.unrealengine.com/u/zoe_wxq)\
**Post date:** [August 1, 2025, 12:33pm UTC](https://forums.unrealengine.com/t/solved-actor-component-c-disappears-from-actors-and-not-being-initialized/2626300/2 "2025-08-01T12:33:12Z")

</div>

hi, solution is [here](https://forums.unrealengine.com/t/blueprint-reference-keeps-breaking-after-restarting-the-editor-following-official-tutorial/2624581/2)
