[Closed] [Crash]: MovedComponent None not initialized deleteme 0
Dear Friends at Epic,
I spawn and delete a lot of Characters during runtime in my in-game editor.
I spawn these characters with their Blueprint.
During editor mode, I set custom gravity factor to 0 for all characters so they can be moved around to any height above the landscape
When Game mode starts, the gravity factor is restored to 1 and the characters fall from their editor location to the landscape.
I run my game only from independent instance, the editor is never loaded.
I am iterating over all Characters to change their gravity during game time using ObjectIterator
Here is my iterator code
It is only during this process of iterating over actors and setting their Game Mode to active (does some AI related things and changes their gravity to 1) that the crash occurs.
When Crash Does Not Occur
The crash only occurs if some characters have been recently spawned / deleted / and new characters spawned,
Then when these characters begin falling when gravity is restored, or even if I take out all my custom gravity code, but the characters are moving around because they are jumping off each other,
when they first begin to move, that is when the crash occurs
My Set Gravity Function
Here is how I set gravity during starting Game Mode, this code is only related because it causes the characters to start to move.
I can create as many actors as I want and then delete them and all is well
Then when I go into game mode, all is well.
But if I create a lot of actors, delete a lot of actors, and then create more very quickly,
Sometimes, when a character begins to move, they instantly disappear permanently,
other times I get this crash:
What Does This Crash Mean?
What is this crash saying?
How can I protect against it when creating and deleting actors frequently?
This is one of the only crashes I've ever gotten which does not point to a place in my source code, who is reporting this crash?
Is it a movementcomponent, is it the engine itself?
The crash is referring to the 23rd instance of the creature I am creating and destroying VictorySkelBP_C_22, who is observing this inconsistency and reporting it?
IsValidLowLevel() and IsPendingKill()
When I iterate over all actors to activate their gravity when entering game mode,
I do check:
asked Mar 11 '14 at 01:48 AM in Bug Reports
ue4-archive ♦♦ STAFF
The question has been closed Dec 11 '14 at 05:23 PM by [Epic] Gribbs for the following reason:
If possible, would you be able to make a fresh project and solely re-create the conditions under which this crash occurs? If so, we would be interested in accessing the project for testing.
How are you spawning the actors? I've seen that crash with actors that weren't fully initialized...
I am trying to look into this issue (but obviously there is a LOT here to go over).
First, can you please clarify this: "I run my game only from independent instance, the editor is never loaded."
Does this mean that you are running a cooked version of the game, or are you running RocketEditor.exe VictoryGame -game?
Follow this question
Once you sign in you will be able to subscribe for any updates here