#Unity Editor runs fine, but build crashes

1 messages · Page 1 of 1 (latest)

merry wraith
#

A simple multiplayer ECS game I've made based around the samples provided works completely fine in the editor, but crashes after the client connects in a build (I've tried disabling burst and most optimizations), anyone know any reason why?

gleaming warren
#

I suspect your aren't waiting for your subscenes to load

#

Hmm that said it seems to be happening inside netcode

#

Do you have a custom world setup going

merry wraith
#

I don't exactly know what that means, pretty new to DOTS, I've just created the ClientWorld and ServerWorld, along with the SharedWorld in the game scene once it loads

#

well, I was able to find the chunk of code that was causing the issue CS var refreshJob = new RefreshClientServerTickRate { commandBuffer = commandBuffer, netDebug = netDebug, debugPrefix = debugPrefix, tickRateEntity = SystemAPI.GetSingletonEntity<ClientServerTickRate>(), dataFromEntity = m_ClientServerTickRateFromEntity };, gonna see what I can do from here, but I can always take suggestions