x

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. 

Character Mesh Keeps Disappearing after Restarting Engine

I have several character BPs that keep losing their skeletal mesh reference every time I open up the project. Even if I add the mesh back in and save it... the editor keeps losing the reference after reopening the project! Is this the sign of a corrupt blueprint?

I'm using version 4.9.

alt text

alt text

Product Version: UE older version
Tags:
more ▼

asked Sep 29 '16 at 08:55 PM in Blueprint Scripting

avatar image

renderman09
162 11 12 24

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

1 answer: sort voted first

Hey,

this could happen if you are cross-referencing your pawn and something else.

If your pawn got the reference of another blueprint, and this other blueprint has a reference(from the pawn) to the pawn (if it doesn't go through an interface) it is a cross-reference.

Finding this error is easier if you are using perforce or something similar.

I hope that helps you.

more ▼

answered Sep 30 '16 at 07:16 PM

avatar image

Easter-Man
21 1 1

avatar image renderman09 Oct 01 '16 at 03:46 PM

I actually have several of these character BP's doing the exact same thing... and they're all children of a base character BP using the same mesh. Would this be a cross referencing issue with the parent?

avatar image renderman09 Oct 01 '16 at 05:19 PM

So I think I figured it out! Someone else suggested removing the mesh reference from the parent BP and just assign it on the child BP. It's working great so far!

avatar image Easter-Man Oct 09 '16 at 04:09 PM

Hey ! sorry for the late reply.

After running into the same problem again, I have to correct myself:

it is a cycle reference - I also have a parent character and several child characters. If the parent character has a reference to the Gamestate, and the Gamestate has a reference to the child character (and as a child character it has obviously a reference to the parent character) then it is a cycle reference.

Parent Char -> Gamestate -> Child Char -> Parent Char -> Gamestate ....

This leads to unexpected behaviors like the reset of the character mesh, animation blueprint, transform etc.

If assigning the mesh in the child characters works I'm glad, but I fear this error could have other consequences. (The reference viewer in UE4 - right click on an asset in the content browser - can help you locate the wrong references . ) IMPORTANT: After you found a cycle reference and removed it, the error will not go away. The character blueprint seems corrupted and will reset itself over every restart of the engine. To test if this was the only cycle reference, I had to make a new child character from the parent. Copied all events and functions inside it and created all the variables. Mark the old child char and the new one and replace the references from the old one with the new one. Restart UE4 and check if the error is gone. If it isn't, Try to find all cycle references and try again....

I really hope there is a better way to get rid of this error and I just haven't found it. If anyone found a better way, please let us know! =)

(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