etherealengine icon indicating copy to clipboard operation
etherealengine copied to clipboard

[Bug]: npm run dev-reinit needs to be ran twice when changing ip address

Open speigg opened this issue 2 years ago â€ĸ 3 comments

When changing the ip address in local development, npm run dev-reinit needs to be ran twice, otherwise avatar assets ( e.g., https://<ip>:8642/avatars/public/CyberbotGold_38c350a0-21a8-11ed-b3e4-b36ec0d803bc.glb ) fail to load

speigg avatar Aug 22 '22 00:08 speigg

these should be being stored with an identifier that patches the storage provider, as we do with scene data and other assets

HexaField avatar Aug 22 '22 03:08 HexaField

What IPs are you switching between? I tried going between localhost (which I know doesn't work on Macs), 127.0.0.1, and 192.168.86.31, which is what my machine assigned as the local network IP, and one run of dev-reinit changed all of the static resource addresses as expected.

barankyle avatar Aug 22 '22 18:08 barankyle

What IPs are you switching between?

Try changing your machine's actual local ip address on your LAN

speigg avatar Sep 14 '22 11:09 speigg

closing in favour of https://github.com/XRFoundation/XREngine/issues/7142

HexaField avatar Oct 27 '22 04:10 HexaField