Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Spawn Class by Variables

alt text

My Question is: Why SpawnActor doesn't work with 'Object Types' 'Actor' 'Class'. How can i fix this?

thanks for every answer

Product Version: Not Selected
unbenannt.png (52.2 kB)
more ▼

asked Nov 21 '15 at 08:03 PM in Blueprint Scripting

avatar image

1 1 1

avatar image Erasio Nov 21 '15 at 08:35 PM

I am not quite sure what you mean...

Are you asking why you can't spawn an actor via a reference to an already existing actor?

avatar image Slashlol Nov 21 '15 at 09:44 PM

i connected the class variable (which is set as a actor blueprint) with the class that should spawn. but nothing spawns when i try it.

avatar image Erasio Nov 21 '15 at 11:22 PM

Doesn't it spawn anything in your level or did you check the world outliner as well?

Because an actor has by default no visible part you won't see anything in your level.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

SpawnActor function in C++ (which will be called when you use spawn actore node) always on all fail scenerios (when it return null/none) prints reason why it does not spawn in logs. Open log by "Window->Devlopment Tools->Output log", trigger the spawn and see what logs say.

more ▼

answered Nov 22 '15 at 05:10 AM

avatar image

36.6k 931 169 1111

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question