Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Burst not working at all
#10
(04-11-2020, 10:43 AM)whitexroft Wrote: So thank you for explaing that Fixed updates are accumulating, but that doesnt answer the question Sonrisa
Try explaining why Burst is not executing the same way between the two

Have you checked that Burst is enabled for builds, as I suggested? https://docs.unity3d.com/Packages/com.un...er-support

On the same pc, with Burst compilation enabled for standalone, the standalone build is about 5-10% faster than the editor for me. The build should never be slower than the editor, unless your code isn't being compiled by Burst.

Note: you should enable SSE4 to take full advantage of vectorization. SSE2 is a much older extension, and AVX2 isn't as widely supported, so chances are your build is falling back to SSE2.


(04-11-2020, 10:43 AM)whitexroft Wrote: Regarding the freezes and reproducing them. So we have noticed that your system spawns these OniColliderWorld game objects on its own in Editor time. Yesterday I thought it was in Play only. So it spawns, and then we (without knowing it) save them to the scene.

Imagine, after that I decide to run Burst instead, and enforce it through all Ropes like this:

/*[SerializeField]*/ private BackendType m_Backend = BackendType.Burst;
ObiSolver.cs, line 101

This is where the freeze happens once you try loading a scene with a rope.

I'm unfortunately unable to reproduce this :/. I've created a solver that uses Oni, saved the scene, then switched the solver to Burst programmatically, but it runs fine.

The Oni/BurstColliderWorld object lifetime is managed by the solvers using lazy initialization: in the case you outline, since the world already exists in the scene it won't be created again on first use: the existing instance would be used.
Reply


Messages In This Thread
Burst not working at all - by manurocker95 - 05-10-2020, 06:00 PM
RE: Burst not working at all - by josemendez - 05-10-2020, 08:26 PM
RE: Burst not working at all - by manurocker95 - 05-10-2020, 08:35 PM
RE: Burst not working at all - by josemendez - 06-10-2020, 07:29 AM
RE: Burst not working at all - by manurocker95 - 06-10-2020, 01:20 PM
RE: Burst not working at all - by josemendez - 06-10-2020, 01:26 PM
RE: Burst not working at all - by whitexroft - 03-11-2020, 06:39 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 08:36 AM
RE: Burst not working at all - by whitexroft - 04-11-2020, 10:43 AM
RE: Burst not working at all - by josemendez - 04-11-2020, 10:52 AM
RE: Burst not working at all - by whitexroft - 04-11-2020, 11:17 AM
RE: Burst not working at all - by josemendez - 04-11-2020, 11:22 AM
RE: Burst not working at all - by whitexroft - 04-11-2020, 12:05 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 12:18 PM
RE: Burst not working at all - by whitexroft - 04-11-2020, 12:53 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 01:17 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 01:54 PM
RE: Burst not working at all - by whitexroft - 04-11-2020, 02:16 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 02:32 PM
RE: Burst not working at all - by whitexroft - 04-11-2020, 02:55 PM
RE: Burst not working at all - by josemendez - 04-11-2020, 03:53 PM