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"

Character mesh is none (Blueprint broken)

So, I've ran into some issues with my character blueprint where the character mesh has become none and unable to be changed. I'm not quite sure what caused it or if it can be remedied so I decided to check with you guys, hopefully we can fix it together!

The character I've made is one that has some blueprint-code which talks to the playercontroller and basically creates and possesses another pawn. The code itself works just fine, and I was able to do so multiple times before I decided to save and quit, the next time I opened up the project I noticed that there was no thumbnail for the character pawn but I disregarded it and pressed pay anyway at which point it crashed. I tried multiple times making it work and that's when I noticed I couldn't change the character model anymore.

alt text

alt text

This has happened multiple times now in multiple projects and I'm getting very frustrated as the code runs fine and then when I save, the file is corrupted or something. The weirdest part is that during the last two tries I created a child asset to that blueprint while it was working and when I opened up the project again the original file was corrupt as usual, but the child had the mesh working fine, except that it could not be moved within the blueprint anymore, which is pretty weird.

I'm guessing it might have something to do with me using a custom character mesh and I will check in the future if I remake the blueprint (again) if this happens when I use the regular Hero_TPP mesh, but that's all I've got so far in terms of a lead. Any help is appreciated!

Product Version: Not Selected
Tags:
more ▼

asked Oct 13 '14 at 01:42 PM in Bug Reports

avatar image

Cindurion
31 2 3 5

avatar image Cindurion Oct 13 '14 at 08:53 PM

Note that this has happened in 4.2, 4.3 and 4.4. Version does not matter for this issue.

avatar image Doug E ♦♦ STAFF Oct 14 '14 at 03:36 PM

Hey Cindurion-

Is the mesh set inside the blueprint or in the code? Also, is it set as a UPROPERTY in the code to expose it to blueprints? Let us know if you're able to test this problem with the Hero_TPP and also if you could post the code of how you setup the character we can take a look and see if we can find out what is happening

Cheers

Doug Wilson

avatar image Cindurion Oct 20 '14 at 03:57 PM

Hello, I just finished making a fresh blueprint using the regular Hero_TPP as a mesh. I am using the basic Character blueprint as a parent so I'm not sure about the code for it.

This time the code was working just fine before I saved and quit again, and when I loaded up the project the mesh was set to none, but it was not broken. I could change the mesh back to any mesh I wanted. I noticed upon playing that a part of the code wasn't working though, and I checked through the blueprint and noticed that a part of the blueprint had been disconnected.

I tried connecting it again but was met with this error message so I'm guessing this part here is (at least partly) the culprit to my errors, perhaps I am using it wrongly?alt text

I am using the get controller (target is pawn) to get the controller that is currently controlling the pawn so that I can pass it along and make sure that it is that playercontroller that gets to possess and unpossess the new character I am creating.

I have the casting node to perform a function inside of that playercontroller.

I could post all of the relevant blueprints, but I am unsure of how to do so the best way?

avatar image Doug E ♦♦ STAFF Oct 20 '14 at 06:16 PM

I created a new project (blueprint third person template) and added a new blueprint parented to Character. The mesh component of the blueprint was set to none before setting it to Hero_TPP. After compiling and saving the blueprint I then closed/reopened the project. The Hero_TPP was still set to the mesh component when I went back to the blueprint. Are there any other steps between creating a project and not seeing the correct mesh set in the components tab that I'm missing? The more detailed information you can provide will make it easier to trace the cause of the problem.

avatar image Cindurion Oct 20 '14 at 07:50 PM

Okay, I stripped the blueprint of all code except for the transforming character part and print screened the bluprints. First I created a blueprint based off the character blueprint. I then created a second blueprint based on the blueprint I just created so that I had a character to transform into and back from.

Then I did the following in the first character blueprint:

I added an int variable that I could use to scroll between selected characters. Then I created the following function to perform the scrolling:alt text

Afterwards I created a PlayerController (the basic blueprint one), and added these functions which basically unpossess the current character, creates a new character and possesses that one:alt text

Then I went back into the first character again and added this function which spawns character one or two depending on the selected character in the previous function:alt text

and lastly I made it so that the two functions were called when you press E or scroll up:alt text

If you reproduce this you should be able to see that the mesh of the first character will be set to none the next time you open the project and go into the components of that character

avatar image Cindurion Oct 20 '14 at 07:53 PM

Things I forgot to mention: The project I am basing it on is third person blueprint template, and I went into the MyGame blueprint and changed it so that it was using character one as the default pawn and the new playercontroller as the default playercontroller

avatar image Doug E ♦♦ STAFF Oct 20 '14 at 09:12 PM

I followed the steps as you described and was still able to see/edit my mesh after closing/reopening my project. Are you able to reproduce this in a new project? If so is there anything you do differently from what is described above?

avatar image Cindurion Oct 20 '14 at 10:59 PM

Huh, actually... I just created a new project using 4.5 and followed my own steps and was unable to reproduce the error! I also converted my old project from 4.4 to 4.5 and the original blueprint seems to be working, so whatever it was might have been fixed in-between version 4.4 and 4.5. I'll look into it a bit more within the next few days before I'll call it fixed but I'm remaining cautiously optimistic.

avatar image Cindurion Oct 22 '14 at 10:16 PM

Yep, haven't seen the issue come up anymore, so thanks a lot for helping me find a solution!

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

1 answer: sort voted first

The problem was fixed between the 4.4 version and the 4.5 version, so if you stumbled upon this issue, try updating to 4.5 and beyond and it might solve your problem!

more ▼

answered Oct 22 '14 at 10:18 PM

avatar image

Cindurion
31 2 3 5

avatar image Slowmanrunning Jan 16 '15 at 07:32 AM

That's funny. I'm on 4.6 and currently having this problem. I have two blueprints extending some C++ (PickupA.h, PickupB.h) which both inherit a UStaticMeshComponent* from a parent class (Pickup.h) and one has a Pickup Mesh which is broken while the other's Pickup Mesh is just fine. For one of the components I can't set any of the defaults. I've restarted, recompiled, etc and nothing's changed. alt text alt text

avatar image Doug E ♦♦ STAFF Jan 19 '15 at 06:17 PM

Hey Slowmanrunning-

The original issue that Cindurion posted referred to the asset of the mesh going missing (resetting to none). Judging by your screenshot it seems that the problem you have relates to the details of the component which would better be investigated as it's own separate issue. It would be best if you could create a new post so that it gets the attention it needs and so it is easier for others to search if they have the same problem later.

Cheers

Doug Wilson

avatar image Kapouett Jun 07 '15 at 11:48 AM

My blueprint extending Character got the exact same problem as here: the arrow, the skeletal mesh and character movement components doesn't have any details.If I try to recreate them, the same thing happens again. I'm using 4.7.6. Blueprint screenshot

avatar image Doug E ♦♦ STAFF Jun 08 '15 at 02:16 PM

Hey Kapouett-

As I mentioned to Slowmanrunning, the issue being reported by this post is in reference to the mesh which was fixed in 4.5. The problem you're having of not being able to edit the details panel is a separate issue that has been reported and fixed internally. This fix should be applied to the engine in an upcoming release.

Cheers

Doug Wilson

(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