Disabling the “Keep World Origin Near Camera” option dosen't work

I’ve made a visual effect based on an object’s world location.It worked fine until I packaged the project.
The effect’s location changes every time when I move the camera.
I have done a lot of test,and I think I finally find the problem.
It seems like disabling the “Keep World Origin Near Camera” option dosen’t work after package the project.So is there any way to make it work or disable it by blueprint.
Cesium version is 1.7.0.

Hi @AOCG,

Your version of Cesium for Unreal is very old. Can you check if it still happens in the latest version (v1.13.1)?

Kevin

I updated cesium to v1.13.1.
Packaged the project. And still be the same .My unreal engine is v4.26.

Unreal Engine itself also has a world origin rebasing option in World Settings:

Perhaps that’s enabled?

If not, I don’t know what would be causing that. I’d suggest setting a breakpoint in an ApplyWorldOffset method and see where it’s being called from.

Kevin

After more tests I’m sure disabling the “Keep World Origin Near Camera” option dosen’t work after package.Even I used blueprint to disable it. Still don’t work. So I made my own blueprint and material funtion to fix the effect location offset while I enable the “Keep World Origin Near Camera” option.

And finally it works !