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"

Engine freezes on actor spawn from editor

Hello everyone,

I have created a simple character with movement code which extends the Character class, and then created a blueprint based of it. And then I placed that blueprint in the map I made and whenever I try to hit Play, the engine freezes and raises it's ram usage up to 4 gigs and up.

How do I solve this?

Product Version: UE 4.10
more ▼

asked Nov 16 '15 at 05:00 PM in C++ Programming

avatar image

23 2 4 11

avatar image Mark James G Nov 16 '15 at 05:47 PM

It could be a couple of things... but make sure you don't have a player start and the player character blueprint out at the same time. This has been known to crash on occasion.

Also, you might want to get into the habit of testing with a standalone client rather then in the editor. This way if your game does crash you won't have to worry about the editor itself stalling.

avatar image Young_Wolf Nov 16 '15 at 06:32 PM

Yeah really useful to test it in standalone!

Tho, that was not the problem, I didn't have player start, just the character, and it went black screen...

avatar image Mark James G Nov 16 '15 at 06:42 PM

Try putting a player start in as well while removing the blueprint and trying it that way.

You don't have additional code floating around somewhere or something in the BP class that could be causing this do you?

avatar image Young_Wolf Nov 16 '15 at 06:47 PM

Just tried it, same thing.

It works when there is no blueprint character in the level, but as soon as I add one... it freezes. That means I can't spawn the same class...

avatar image Mark James G Nov 16 '15 at 06:59 PM

You can spawn the same class but you don't really want to spawn a player class via blueprint in the world.

For AI it is fine (using a custom AI Controller) but it always crashes when it's a player controlled BP.

avatar image Young_Wolf Nov 16 '15 at 07:03 PM

I understand now, but how do I make it NON player controlled?

Maybe creating just a pawn?

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

0 answers: sort voted first
Be the first one to answer this question
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