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. 

Destructible Actors break in packaged build when referenced in character blueprint

This is a duplicate of this issue, but I am reposting as that one was marked "resolved" before I had the chance to reproduce it and is now being ignored.

I have a helmet mesh in my game that is rigged as a destructible mesh so it can explode in a bloody mess. This has always worked fine. After upgrading to 4.18.2, however, the destructible mesh gets no physics or collisions in the packaged build! It works fine in-editor. You can see what I'm talking about in this video: https://youtu.be/KUA88XnZlY0


As you can see, other destructible meshes are working as expected. It seems to only be the space soldier helmet that has this issue... which of course is the only one I actually need.


This question seems to detail the same issue. Thinking it might be a case of migrated files breaking, I deleted all the old files used for the space helmet, re imported the mesh, recreated the destructible mesh, stuck the destructible mesh back in my custom blueprint, and repackaged... same results.

I have managed to recreate this bug in a fresh project. Here are the steps to reproduce:

  1. Start with C++ FPS template

  2. Create a C++ class which extends ADestructibleActor

  3. Create a DestructibleMesh from some static mesh (I used a sphere)

  4. Create a Blueprint based on that C++ class and assign your DestructibleMesh

  5. Create some actor (in blueprints) which you can trigger to spawn the Blueprinted mesh actor. I just used a sphere and on overlap with a player I spawn an actor by class.

  6. In the C++ code for your character, add a UPROPERTY like so:

    UPROPERTY(Category = Destructible, EditAnywhere) TSubclassOf DestructibleActorRef;

  7. Compile

  8. In your character blueprint, set DestructibleActorRef to your blueprinted mesh actor.

  9. Package

  10. Test

For whatever reason, this sequence of events breaks ALL instances of the blueprint. Your blueprinted mesh actor will spawn but will not have any collision or physics enabled.

For reference I have created a project with the bug present, you can download it here: https://drive.google.com/file/d/1OHcYUAMeN6LP4iBv2sJFAnK1XRdgYYDC/view?usp=sharing

Pressing enter will trigger radial damage, so to test the destructible mesh behavior you just have to walk into the blue sphere to spawn a destructible sphere and then stand near it and press enter to destroy it. This will work fine in editor, but will break in a packaged build. If you clear the value for DestructibleActorRef in the character blueprint and package, destruction will work fine.

Product Version: UE 4.18
Tags:
more ▼

asked Jan 15 '18 at 08:35 PM in Bug Reports

avatar image

SlimeQ
327 10 20 37

avatar image Shadowriver Jan 15 '18 at 08:36 PM
avatar image SlimeQ Jan 15 '18 at 09:34 PM

oh, thanks for the tip

(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