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"

Why does pawn stop working when adding Static mesh

Hi,

I am having an issue when adding a Static Mesh to a Pawn, the Pawn works fine and runs all nodes in the event graph until a static mesh is added anywhere in the pawn. after that, nothing runs until i then take the static mesh back out.

The odd thing is that the pawn still works when a blank static mesh object is added to it, but only whilst it is blank and when a mesh is then assigned to the static mesh it stops working again.

Thanks

Product Version: UE 4.11
Tags:
more ▼

asked May 29 '16 at 02:07 PM in Using UE4

avatar image

JohnTheDemon
1 1 1

avatar image jblaswu May 29 '16 at 03:40 PM

could you provide some screenshots on the pawn logic? also the details on the pawn and the static mesh you are using

avatar image JohnTheDemon May 29 '16 at 08:54 PM

Sure,

Here i have the blueprint event graph alt text And here is it working without a mesh, i have simply added a print to show whether it works or not alt text And here, i have only added the mesh to the pawn and the print (and everything else in the code) stops working alt text

The pawn itself is a pawn setup for a Vive and therefore i have set the base eye height to 0, this is the only default that has been changed. The mesh i am using is a super low poly child attempt at a gun just to get an eye for scale however any mesh i chose has this same issue and has since i began this project before adding the nodes to the graph

Thanks for the help.

code.jpg (468.8 kB)
without mesh.jpg (449.8 kB)
with mesh.jpg (261.2 kB)
avatar image jblaswu May 29 '16 at 09:15 PM

cant come up with anything, it looks simple enough to be broken by just a mesh. what if you use the debug filter? where does it stops working? the only reason of it not working is that the arrays lengths become 0 (as strange as it sounds), maybe a simple debug with that in mind?

avatar image vanlacke May 30 '16 at 12:02 AM

I can just barely see that the "gun" mesh is set to block. Try getting rid of all collision to see if that fixes it.

That'd be my guess... not sure if you need collision, if so, customize it correctly. I've had issues in the past that was simply due to the mesh blocking visibility

(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