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"

UpdateInstanceTransform() works in PIE but not Packaged builds in 4.17

What should happen: When you left click on a rock, it should despawn, then respawn after 5 seconds. This works in play in editor but not packaged builds.

In packaged builds, it removes ALL instances, then respawns that ONE instance which you deleted.

Build Type: Source (Vanilla) Build version: 4.17

Detailed description of the issue: Please see the attached project for reproduction. It's very simple, only has three places where code is placed.

1) MyCharacter.h/.cpp 2) ThirdPersonCharacter blueprint 3) Level blueprint

https://mega.nz/#!WJNw1SJK!FLlDhhOXV5vmZGbHmM9JH-8X5SiZ0GnSgZ75t63rxoQ

first, play in editor, hit a rock with left click, it should respawn after 5 seconds then, right click => launch game on uproject, and launch server using the "Run Test Server" shortcut i made

The shortcut might have to be pointed towards your path/engine build location.

System Specs: Windows 10, GTX 1080, i5 CPU 3.4ghz

No errors, or crashes, simply different behavior in PIE vs Packaged builds.

Product Version: UE 4.17
Tags:
more ▼

asked Sep 06 '17 at 06:29 PM in Bug Reports

avatar image

poke1103
20 1 6 17

avatar image poke1103 Sep 06 '17 at 06:47 PM

Also, if you type "show collision" in the console ( ` ) it will also remove ALL instances, not just the one you deleted.

avatar image poke1103 Sep 06 '17 at 07:43 PM

The same issue happens in single player as well.

avatar image poke1103 Sep 06 '17 at 09:53 PM

Just tested in 4.15, this bug does not exist in 4.15, so it's definitely a issue in 4.17 I haven't tried 4.16 yet

avatar image poke1103 Sep 07 '17 at 12:40 AM

Here is a video tutorial of how to create the issue: https://youtu.be/XtP9rFvfu5s

avatar image poke1103 Sep 08 '17 at 04:07 AM

https://www.youtube.com/watch?v=ja1kc9c24Fo&feature=youtu.be

Added another, more detailed, yet simplified tutorial

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

6 answers: sort voted first

Hi

A fix was made for 4.18.

more ▼

answered Sep 18 '17 at 07:45 PM

avatar image

Michel.Dupuis STAFF
120 2 4 4

avatar image poke1103 Sep 19 '17 at 01:15 PM

Hey I just want to validate something with you. The behavior in PIE is the expected behavior that we should be having in standalone and packaged builds, right? Sorry for being a dick.

avatar image Michel.Dupuis STAFF Sep 19 '17 at 01:31 PM

In general term, it depend, but in this case, previously, PIE == Editor thus there is special handling for static meshes instancing. So the real flow is to check in standalone i.e -game or packaged build to know the true behavior. My change will change the current default behavior to be both the same and if user want full optimization they'll have to turn it back on on their component which will result in the current behavior you see.

To give more context on this, normally if instances shouldn't be changed, they are not cache CPU side, only on GPU post initialization, so all operations you do will ultimately cause what you experiences, guard were added with log to notify users of what is happening, and it wont change the data.

Hope it clarify things :)

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

IT works in 4.16.3, but not in 4.17.1.

more ▼

answered Sep 07 '17 at 03:09 PM

avatar image

poke1103
20 1 6 17

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

Epic? Any answers?

more ▼

answered Sep 11 '17 at 10:23 PM

avatar image

poke1103
20 1 6 17

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

Any answers?

more ▼

answered Sep 12 '17 at 12:21 PM

avatar image

poke1103
20 1 6 17

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

Any answers?

more ▼

answered Sep 13 '17 at 05:20 PM

avatar image

poke1103
20 1 6 17

avatar image Ninjin Sep 13 '17 at 10:08 PM

This ain't Discord BDoom, you won't get a fast reply here, especially if you want some Epic mod. I heard the guy who made the changes is trying to fix ISMC, which you can see in other questions about ISMC for 4.17. Let's see what he comes up with for the hotfix. Chances the mods here know if this bug is in relation with the other bugs are pretty slim (except the guy who is doing the fix, got some time left). You can also download v4.18 from source and see if it's already fixed there. Other than that, chill down <3.

avatar image poke1103 Sep 14 '17 at 01:15 PM

Wait, 4.18 is actually out now? Oh shit

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

Just tested 4.18-staging this bug is still active in engine

more ▼

answered Sep 17 '17 at 09:56 PM

avatar image

poke1103
20 1 6 17

(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