# \#spawn-actor-from-cla

**URL:** https://forums.unrealengine.com/tag/spawn-actor-from-cla/1020.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Spawned Enemy acting different then Placed Enemy](https://forums.unrealengine.com/t/spawned-enemy-acting-different-then-placed-enemy/474276)

<div class="topic-metadata">

**Author:** [@Re4verbot](https://forums.unrealengine.com/u/Re4verbot)\
**Replies:** 3\
**Last updated:** [November 8, 2024, 12:19am UTC](https://forums.unrealengine.com/t/spawned-enemy-acting-different-then-placed-enemy/474276 "2024-11-08T00:19:20Z")

</div>

Hello. I am having a bit of trouble with spawning actors. In my game I have a bullet that shoots spacemen, and when they are hit they float away at the velocity and direction of the bullet. For some reason, placed enemi…

---

## [Crash on SpawnActor in GameInstance - Event Init](https://forums.unrealengine.com/t/crash-on-spawnactor-in-gameinstance-event-init/310663)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_99e8ad321](https://forums.unrealengine.com/u/anonymous_user_99e8ad321)\
**Replies:** 12\
**Last updated:** [May 10, 2024, 4:34am UTC](https://forums.unrealengine.com/t/crash-on-spawnactor-in-gameinstance-event-init/310663 "2024-05-10T04:34:00Z")

</div>

Branch: ‘Binary’ build from the Unreal Launcher Build version: 4.7.2 Description: This crash only occurs in standalone/cooked versions (tested windows 7 64bit), and adding a “Delay” node before the actor spawn, even wi…

---

## [Spawning a new actor of the same class infinite loop Solved! But i have another problem with collision of pawn](https://forums.unrealengine.com/t/spawning-a-new-actor-of-the-same-class-infinite-loop-solved-but-i-have-another-problem-with-collision-of-pawn/304173)

<div class="topic-metadata">

**Author:** [@KristofferF](https://forums.unrealengine.com/u/KristofferF)\
**Replies:** 11\
**Last updated:** [July 29, 2023, 4:39pm UTC](https://forums.unrealengine.com/t/spawning-a-new-actor-of-the-same-class-infinite-loop-solved-but-i-have-another-problem-with-collision-of-pawn/304173 "2023-07-29T16:39:37Z")

</div>

I’m trying to create a form of endless runner test from the roller project. I have some problem with “Infinite Loop detected in blueprint: Cube” You can see in the picture that I’m trying to spawn a new cubes section…

---

## [Actors spawning in packaged game bug](https://forums.unrealengine.com/t/actors-spawning-in-packaged-game-bug/322740)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_caedf3181](https://forums.unrealengine.com/u/anonymous_user_caedf3181)\
**Replies:** 8\
**Last updated:** [May 9, 2023, 9:22am UTC](https://forums.unrealengine.com/t/actors-spawning-in-packaged-game-bug/322740 "2023-05-09T09:22:48Z")

</div>

Hello, So I have a bit of a strange bug in my Win64 Shipping build. When the game tries to spawn an actor using the spawn actor from class node, a reference is returned and I can print the display name to the screen, bu…

---

## [4.14 Spawn actor from class replicates twice on client](https://forums.unrealengine.com/t/4-14-spawn-actor-from-class-replicates-twice-on-client/377880)

<div class="topic-metadata">

**Author:** [@Axxi](https://forums.unrealengine.com/u/Axxi)\
**Replies:** 11\
**Last updated:** [May 5, 2023, 7:37pm UTC](https://forums.unrealengine.com/t/4-14-spawn-actor-from-class-replicates-twice-on-client/377880 "2023-05-05T19:37:45Z")

</div>

Hello , if you create a blueprint and try to spawn an actor from class and that class is set to replicate, on clients it wil replicate twice . Any fix for this?

---

## [Media Player from a spawned Actor](https://forums.unrealengine.com/t/media-player-from-a-spawned-actor/468542)

<div class="topic-metadata">

**Author:** [@schmigel](https://forums.unrealengine.com/u/schmigel)\
**Replies:** 1\
**Last updated:** [April 25, 2023, 8:46am UTC](https://forums.unrealengine.com/t/media-player-from-a-spawned-actor/468542 "2023-04-25T08:46:28Z")

</div>

I have one blueprint that creates the Media Player, Media Texture and Stream. Setups everything and plays the URL. I place this Actor in the world and everything works fine. If I try to Spawn this actor from another ac…

---

## [How to Spawn AI via Blueprint?](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2eab6e11](https://forums.unrealengine.com/u/anonymous_user_e2eab6e11)\
**Replies:** 4\
**Last updated:** [March 25, 2023, 1:57pm UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522 "2023-03-25T13:57:53Z")

</div>

So, I’ve been Googling this for almost a month, and still haven’t found anything. At first, I was trying to use the “Spawn Actor from Class node,” and that didn’t work, despite spawning a default controller with it. Next…

---

## [Spawn actor from bp doesn't work in packaged project](https://forums.unrealengine.com/t/spawn-actor-from-bp-doesnt-work-in-packaged-project/482268)

<div class="topic-metadata">

**Author:** [@yk\_kr](https://forums.unrealengine.com/u/yk_kr)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 3:28pm UTC](https://forums.unrealengine.com/t/spawn-actor-from-bp-doesnt-work-in-packaged-project/482268 "2023-03-20T15:28:41Z")

</div>

So whenever I press fire button , a SpawnActor bp is called which spawns a blueprint bp\_bullet which contains a static mesh having projectile. In the editor as well in standalone game the projectile spawns from bp class,…

---

## [Spawn Actor on mouse location with editor widget](https://forums.unrealengine.com/t/spawn-actor-on-mouse-location-with-editor-widget/487969)

<div class="topic-metadata">

**Author:** [@Shaon2007](https://forums.unrealengine.com/u/Shaon2007)\
**Replies:** 1\
**Last updated:** [February 21, 2022, 11:05am UTC](https://forums.unrealengine.com/t/spawn-actor-on-mouse-location-with-editor-widget/487969 "2022-02-21T11:05:42Z")

</div>

Greetings to everyone, I am making a game with maps that use a grid system. I am using an actor and spawn objects in the world. Each object acts as a grid. This will be significant as I can change the map easily if I ne…

---

## [How to spawn an actor from a plugin](https://forums.unrealengine.com/t/how-to-spawn-an-actor-from-a-plugin/340246)

<div class="topic-metadata">

**Author:** [@Bleeck](https://forums.unrealengine.com/u/Bleeck)\
**Replies:** 2\
**Last updated:** [February 7, 2022, 6:42am UTC](https://forums.unrealengine.com/t/how-to-spawn-an-actor-from-a-plugin/340246 "2022-02-07T06:42:25Z")

</div>

Hi, I’m working on a plugin and can’t seem to get it to spawn an actor for me. What I’m trying to do is the following : MySplineClass is a class that has a spline component (made from c++) I want, when I drag this int…

---

## [Spawn Actor/Object from code](https://forums.unrealengine.com/t/spawn-actor-object-from-code/286739)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2c530438](https://forums.unrealengine.com/u/anonymous_user_2c530438)\
**Replies:** 16\
**Last updated:** [December 2, 2021, 2:48am UTC](https://forums.unrealengine.com/t/spawn-actor-object-from-code/286739 "2021-12-02T02:48:46Z")

</div>

Hi! I switched from Unity3D to UE4 and I have the following problem: In Unity3D I created prefab with some objects inside. And in other script I Instantiated the prefab into world. In UE4 I created blueprint, because …

---

## [Character Array/Map Selection](https://forums.unrealengine.com/t/character-array-map-selection/491205)

<div class="topic-metadata">

**Author:** [@WBoden](https://forums.unrealengine.com/u/WBoden)\
**Replies:** 2\
**Last updated:** [November 24, 2021, 10:51pm UTC](https://forums.unrealengine.com/t/character-array-map-selection/491205 "2021-11-24T22:51:45Z")

</div>

Hey there, I’m trying to set up a player character class setup in my JRPG project. I’m at the moment attempting to setup on who spawns and who doesn’t. I figured that connecting it with a Boolean check would help with k…

---

## [How to spawn a BP actor from a string path?](https://forums.unrealengine.com/t/how-to-spawn-a-bp-actor-from-a-string-path/489768)

<div class="topic-metadata">

**Author:** [@andrew-r-lukasik](https://forums.unrealengine.com/u/andrew-r-lukasik)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 7:05pm UTC](https://forums.unrealengine.com/t/how-to-spawn-a-bp-actor-from-a-string-path/489768 "2021-10-11T19:05:00Z")

</div>

Q: I want to spawn blueprint actors by their file path, but how to do that exactly? I found this \[GetAssetbyObjectPath\]\[1\] action. I give it a valid path ( /Game/MyDir/MyClass.MyClass) and it gives me a object reference…

---

## [Cannot Spawn actor using c++](https://forums.unrealengine.com/t/cannot-spawn-actor-using-c/489485)

<div class="topic-metadata">

**Author:** [@galuodo](https://forums.unrealengine.com/u/galuodo)\
**Replies:** 3\
**Last updated:** [October 3, 2021, 5:46pm UTC](https://forums.unrealengine.com/t/cannot-spawn-actor-using-c/489485 "2021-10-03T17:46:53Z")

</div>

HI all, I am reading Leaning c++ by Creating Games with UE4, when i am trying spawn a bullet, it fails. FVector fwd = GetActorForwardVector(); FVector nozzle = GetMesh()-\>GetBoneLocation("RightHand"); noz…

---

## [Spawn actors on top of eachother](https://forums.unrealengine.com/t/spawn-actors-on-top-of-eachother/486048)

<div class="topic-metadata">

**Author:** [@Serellyn](https://forums.unrealengine.com/u/Serellyn)\
**Replies:** 4\
**Last updated:** [July 12, 2021, 12:07pm UTC](https://forums.unrealengine.com/t/spawn-actors-on-top-of-eachother/486048 "2021-07-12T12:07:03Z")

</div>

Currently trying to spawn actors into my level and stack them on top of eachother. The actors are simple box shapes of equal size except for the height (scale). The height (scale) is set randomly. I currently have the f…

---

## [Static mesh component not showing up on spawned actor](https://forums.unrealengine.com/t/static-mesh-component-not-showing-up-on-spawned-actor/485040)

<div class="topic-metadata">

**Author:** [@chase98999](https://forums.unrealengine.com/u/chase98999)\
**Replies:** 2\
**Last updated:** [June 18, 2021, 2:37pm UTC](https://forums.unrealengine.com/t/static-mesh-component-not-showing-up-on-spawned-actor/485040 "2021-06-18T14:37:19Z")

</div>

I have a custom actor class called “BlackHole”, which is supposed to spawn a new actor of class “DarkMatter” after being in existence for 5 seconds. For some reason, when my black hole actor spawns my dark matter actor, …

---

## [SpawnActorFromClass&AIMoveTo的配合](https://forums.unrealengine.com/t/spawnactorfromclass-aimoveto/482290)

<div class="topic-metadata">

**Author:** [@JasonWong94](https://forums.unrealengine.com/u/JasonWong94)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 4:17am UTC](https://forums.unrealengine.com/t/spawnactorfromclass-aimoveto/482290 "2021-06-17T04:17:42Z")

</div>

我的需求：运行时在场景内生成若干个角色，并根据接入的点位数据使相应角色在场景中移动到相应位置 我当前的逻辑：接收数据进行SpawnActorFromClass生成Character类-Character类内部接收分发数据进行ID匹配，匹配则记录新的点位数据并根据点位进行AIMoveTo 我当前的问题：由SpawnActorFromClass生成的Character类可以收到点位数据，但在执行AIMoveTo时会出现只执行一般输出引脚…

---

## [Projectile not firing properly with SuggestProjectileVelocity node?](https://forums.unrealengine.com/t/projectile-not-firing-properly-with-suggestprojectilevelocity-node/483530)

<div class="topic-metadata">

**Author:** [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 9:21pm UTC](https://forums.unrealengine.com/t/projectile-not-firing-properly-with-suggestprojectilevelocity-node/483530 "2021-05-17T21:21:06Z")

</div>

I have a basic turret that faces the Player and fires at them every second. It’s tracking the Player by using the FindLookAtRotation node and spawns a projectile from its aim point which is the arrow. The cube is a scene…

---

## [Why do my spawned characters fall through the map?](https://forums.unrealengine.com/t/why-do-my-spawned-characters-fall-through-the-map/483193)

<div class="topic-metadata">

**Author:** [@twizkiddaxter](https://forums.unrealengine.com/u/twizkiddaxter)\
**Replies:** 10\
**Last updated:** [May 12, 2021, 8:08pm UTC](https://forums.unrealengine.com/t/why-do-my-spawned-characters-fall-through-the-map/483193 "2021-05-12T20:08:20Z")

</div>

My Player Character has the ability to spawn four “clones” of itself with a key trigger. All clones spawn successfully except that atleast one of them falls through the map. That’s either falling through the floor or fal…

---

## [Spawning actor from client doesn't replicate on server](https://forums.unrealengine.com/t/spawning-actor-from-client-doesnt-replicate-on-server/482222)

<div class="topic-metadata">

**Author:** [@IamSpree](https://forums.unrealengine.com/u/IamSpree)\
**Replies:** 3\
**Last updated:** [April 21, 2021, 12:46pm UTC](https://forums.unrealengine.com/t/spawning-actor-from-client-doesnt-replicate-on-server/482222 "2021-04-21T12:46:57Z")

</div>

Hello, I’m lost. I’ve been watching and reading a lot about replication and networking fundamentals in ue4 blueprints. Been spending days trying to solve this issue and I’m now desperate. I’m trying to make a game where…

---

## [Spawning an actor with "in editor only" child actors creates unwanted conditions](https://forums.unrealengine.com/t/spawning-an-actor-with-in-editor-only-child-actors-creates-unwanted-conditions/481351)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c94444d8](https://forums.unrealengine.com/u/anonymous_user_c94444d8)\
**Replies:** 0\
**Last updated:** [April 5, 2021, 6:46am UTC](https://forums.unrealengine.com/t/spawning-an-actor-with-in-editor-only-child-actors-creates-unwanted-conditions/481351 "2021-04-05T06:46:23Z")

</div>

I have actors that have dynamically generated features. In order for the editor to see anything more than a scene object placeholder, I needed to add representative geometry. For ease of development, I am using an “is ed…

---

## [Actor smaller when spawned from class](https://forums.unrealengine.com/t/actor-smaller-when-spawned-from-class/437589)

<div class="topic-metadata">

**Author:** [@largoodie](https://forums.unrealengine.com/u/largoodie)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 9:02am UTC](https://forums.unrealengine.com/t/actor-smaller-when-spawned-from-class/437589 "2021-03-16T09:02:57Z")

</div>

I have a blueprint for a door that is being spawned on a invisible location. The size of the door is x: 1.3, y: 1.4, z:1.3. When I drag the actor (door) from the content browser, it appears as its normal size. When it is…

---

## [C++ Spawn decal at OnComponentHit location?](https://forums.unrealengine.com/t/c-spawn-decal-at-oncomponenthit-location/313998)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b9d6f105](https://forums.unrealengine.com/u/anonymous_user_b9d6f105)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 12:58pm UTC](https://forums.unrealengine.com/t/c-spawn-decal-at-oncomponenthit-location/313998 "2021-03-07T12:58:54Z")

</div>

Hi, I can’t seem to figure this one out on my own, or find a solid answer. I’ve created a deferred decal with a blood splat texture. I’ve created a simple Actor c++ class, in which I assign a mesh for visual and sphere c…

---

## [How to smoothly change characters on multiplayer?](https://forums.unrealengine.com/t/how-to-smoothly-change-characters-on-multiplayer/477768)

<div class="topic-metadata">

**Author:** [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Replies:** 0\
**Last updated:** [January 25, 2021, 5:29pm UTC](https://forums.unrealengine.com/t/how-to-smoothly-change-characters-on-multiplayer/477768 "2021-01-25T17:29:36Z")

</div>

Hi I have it setup so on my multiplayer game, the player starts with a character to initialize a few things with my multiplayer service, delays 3 seconds then switches to a spectator character. From there they can choose…

---

## [Handling multiple spawned objects collision](https://forums.unrealengine.com/t/handling-multiple-spawned-objects-collision/473130)

<div class="topic-metadata">

**Author:** [@Lunatic\_Designer](https://forums.unrealengine.com/u/Lunatic_Designer)\
**Replies:** 0\
**Last updated:** [October 18, 2020, 9:16pm UTC](https://forums.unrealengine.com/t/handling-multiple-spawned-objects-collision/473130 "2020-10-18T21:16:59Z")

</div>

Hello there, I have a question about handling collision on multiple spawned objects (at the same location). I tried to search through the forum but couldn’t get much help(guess I wasn’t using the proper terms in search …

---

## [How do I get the transform of a static mesh](https://forums.unrealengine.com/t/how-do-i-get-the-transform-of-a-static-mesh/470721)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f59236d0](https://forums.unrealengine.com/u/anonymous_user_f59236d0)\
**Replies:** 2\
**Last updated:** [September 2, 2020, 10:37pm UTC](https://forums.unrealengine.com/t/how-do-i-get-the-transform-of-a-static-mesh/470721 "2020-09-02T22:37:31Z")

</div>

How do I get the transform of a static mesh, I’m trying to use the “Spawn Actor from Class” Node, but it needs a transform, I have a static mesh I want to spawn the object from but I don’t see a way to do it.

---

## [Cant hurt spawned character](https://forums.unrealengine.com/t/cant-hurt-spawned-character/469648)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_89a1776d](https://forums.unrealengine.com/u/anonymous_user_89a1776d)\
**Replies:** 0\
**Last updated:** [August 12, 2020, 4:53pm UTC](https://forums.unrealengine.com/t/cant-hurt-spawned-character/469648 "2020-08-12T16:53:32Z")

</div>

so this actor I made inherits a health component from the parent and that triggers a hit marker when shot and adds points, the actor i place in the scene works fine but when i spawn a new actor I cant hit it at all. What…

---

## [How to make an actor spawn other actors after dropping it into viewport? C++](https://forums.unrealengine.com/t/how-to-make-an-actor-spawn-other-actors-after-dropping-it-into-viewport-c/469279)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_641744e3](https://forums.unrealengine.com/u/anonymous_user_641744e3)\
**Replies:** 8\
**Last updated:** [August 6, 2020, 2:48pm UTC](https://forums.unrealengine.com/t/how-to-make-an-actor-spawn-other-actors-after-dropping-it-into-viewport-c/469279 "2020-08-06T14:48:31Z")

</div>

I want to create a complex actor that consists of many other actors. For example: I want to create a grid of cells for any reason: set of buttons to interact with, tiles to create map. Or to create a map that consi…

---

## [How do I use the RandomPoint node with the SpawnActor node](https://forums.unrealengine.com/t/how-do-i-use-the-randompoint-node-with-the-spawnactor-node/469135)

<div class="topic-metadata">

**Author:** [@ep1cgamer007](https://forums.unrealengine.com/u/ep1cgamer007)\
**Replies:** 6\
**Last updated:** [August 4, 2020, 2:35pm UTC](https://forums.unrealengine.com/t/how-do-i-use-the-randompoint-node-with-the-spawnactor-node/469135 "2020-08-04T14:35:37Z")

</div>

I’m trying to spawn an actor called meteor in a random position in a bounding box, i followed a tutorial by Mathew Wadstein and I can’t figure out why its only spawning them in the center of the bounding box and not in a…

---

## [Spawn actor from class not working?](https://forums.unrealengine.com/t/spawn-actor-from-class-not-working/468633)

<div class="topic-metadata">

**Author:** [@Seif\_Nageh](https://forums.unrealengine.com/u/Seif_Nageh)\
**Replies:** 1\
**Last updated:** [July 26, 2020, 12:58am UTC](https://forums.unrealengine.com/t/spawn-actor-from-class-not-working/468633 "2020-07-26T00:58:59Z")

</div>

Hi, I want to create a explosion effect but the spawn actor from class not have a blue print effects What could i do with that???

[Next page](https://forums.unrealengine.com/tag/spawn-actor-from-cla/1020.md?match_all_tags=true&page=1&tags%5B%5D=spawn-actor-from-cla)
