Actor extend changes are ignored

Hi,

I just encountered something odd:

When I change the values of a box actor that is part of a BP, the box extends always only return the default values.

I have attached a simple repro project link below.
Simply change the extends of the box in the BP actor and observe the spheres being spawned only within the default extends, changes being ignored.

ReproProject

Cheers,
Klaus

Hey KVogler,

I’ve run through your repro project as well as created a new project, and this seems to be working as expected to me.

When I run the Get Box Extent node and print that result, it always prints the correct value, even in your test project. Initially, I was getting 1000,1000,1000. After changing it to 800,800,800, I was getting that value as well and the spheres were being updated to spawn inside the correct extent. Are you ensuring to change the box extent through the Box Extent property in the box component’s details panel rather than by scaling it?

link text

I’ve reattached the project with the changes I made so that it prints the box extent on Begin Play so you can see that the extent is actually being updated.

Let me know if you have further questions regarding this issue.

Have a great day

Hi Sean,

Thanks for looking into this.
I see the correct value as well, but in the editor, I still only get the spheres spawned in the box default extends.
I doo indeed use the extend value field and not the scaling.

Like this:

If I move the actor around, the spheres spawn randomly anew (as expected), but always stay within the default extends.
In the BP editor viewport it works:

I would expect the same behavior in the editor. Especially since the box extend values seem to be correct.
What am I doing wrong?

Ah, I see. You’re changing the extent on an instance of the actor in the level. I was changing it inside of the blueprint itself originally. I’d recommend changing the box extent inside of the blueprint, as that seems to be updated as expected.

I have entered a bug report for the fact that changing the Box Extent on an instance is not updating the actual value, which you can track using the link below:

Thanks for your report.

Have a great day

I’d recommend changing the box extent
inside of the blueprint, as that seems
to be updated as expected.

But that would mean if I want 30 of those actors with different extents, I need to duplicate the asset and have 30 almost identically assets in my content browser and with one change, I need to maintain all 30 copies?
Doesnt sound very practicable :frowning:

I have entered a bug report for the
fact that changing the Box Extent on
an instance is not updating the actual
value,

Thanks :slight_smile:
I made some more tests. It seems that all shapes are affected by this. Also the sphere does not update its radius.
So please check also the other volume shapes.