Is Havok built into 2022.2.0b9?

The asset store says “Havok Physics for Unity (full release) will be available with Unity 2022.2” and I don’t see it available as a package (experimental packages enabled).

But when I switch Simulation Type to Havok Physics in the ECS Physics samples I get the error below. This one was in the scene 4a Joints Parade but it happens in any of the scenes. Am I doing something stupid or is this a bug?

NotSupportedException: System.NotSupportedException: {0}
This Exception was thrown from a function compiled with Burst, which has limited exception support.

0x00007ff826180a05 (26c6c992149b83ac7f857794b0e7e4c) [unknown:0] Unity.Physics.Systems.PhysicsSimulationPickerSystem::Unity.Physics.Systems.PhysicsSimulationPickerSystem.OnUpdate

0x00007ff82617deb9 (26c6c992149b83ac7f857794b0e7e4c) d1a452a1b0381dfa6f254876814a3877

0x00007ff82976a5ea (a71c006178e9f72e9725c22bd6129b4) [unknown:0] Unity.Entities.WorldUnmanagedImpl.Unity.Entities.UnmanagedUpdate_00001487$BurstDirectCall.Invoke

0x00007ff829769e69 (a71c006178e9f72e9725c22bd6129b4) 7bf3b3dc1c88cb657fd69b548232391d

0x0000021589fa407d (Mono JIT Code) (wrapper managed-to-native) Unity.Entities.WorldUnmanagedImpl/Unity.Entities.UnmanagedUpdate_00001487$BurstDirectCall:wrapper_native_indirect_0000021622EE2040 (intptr&,void*)

0x0000021589fa3c4b (Mono JIT Code) Unity.Entities.WorldUnmanagedImpl/Unity.Entities.UnmanagedUpdate_00001487$BurstDirectCall:Invoke (void*)

0x0000021589fa3b1b (Mono JIT Code) [WorldUnmanaged.cs:801] Unity.Entities.WorldUnmanagedImpl:UnmanagedUpdate (void*)

0x0000021589fa32fb (Mono JIT Code) [WorldUnmanaged.cs:866] Unity.Entities.WorldUnmanagedImpl:UpdateSystem (Unity.Entities.SystemHandle)

0x0000021589f9f82b (Mono JIT Code) [ComponentSystemGroup.cs:664] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()

0x0000021589f9efab (Mono JIT Code) [ComponentSystemGroup.cs:628] Unity.Entities.ComponentSystemGroup:OnUpdate ()

0x0000021589f9d284 (Mono JIT Code) [SystemBase.cs:406] Unity.Entities.SystemBase:Update ()

0x0000021589f9f946 (Mono JIT Code) [ComponentSystemGroup.cs:670] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()

0x0000021589f9efab (Mono JIT Code) [ComponentSystemGroup.cs:628] Unity.Entities.ComponentSystemGroup:OnUpdate ()

0x0000021589f9d284 (Mono JIT Code) [SystemBase.cs:406] Unity.Entities.SystemBase:Update ()

0x0000021589f9f946 (Mono JIT Code) [ComponentSystemGroup.cs:670] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()

0x0000021589f9f02b (Mono JIT Code) [ComponentSystemGroup.cs:634] Unity.Entities.ComponentSystemGroup:OnUpdate ()

0x0000021589f9d284 (Mono JIT Code) [SystemBase.cs:406] Unity.Entities.SystemBase:Update ()

0x0000021589f9f946 (Mono JIT Code) [ComponentSystemGroup.cs:670] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()

0x0000021589f9efab (Mono JIT Code) [ComponentSystemGroup.cs:628] Unity.Entities.ComponentSystemGroup:OnUpdate ()

0x0000021589f9d284 (Mono JIT Code) [SystemBase.cs:406] Unity.Entities.SystemBase:Update ()

0x0000021589f9cbb4 (Mono JIT Code) [ScriptBehaviourUpdateOrder.cs:526] Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate ()

0x000002141dbc8d88 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

0x00007ff82b1b0304 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke

0x00007ff82b0eeb44 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke

0x00007ff82b0eecdc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke

0x00007ff75373d414 (Unity) scripting_method_invoke

0x00007ff75371ddb4 (Unity) ScriptingInvocation::Invoke

0x00007ff7533cd9d5 (Unity) ExecutePlayerLoop

0x00007ff7533cd9f3 (Unity) ExecutePlayerLoop

0x00007ff7533d3b65 (Unity) PlayerLoop

0x00007ff75435070f (Unity) PlayerLoopController::InternalUpdateScene

0x00007ff754348333 (Unity) PlayerLoopController::EnterPlayMode

0x00007ff754357f66 (Unity) PlayerLoopController::SetIsPlaying

0x00007ff75435b68b (Unity) Application::TickTimer

0x00007ff7547db30a (Unity) MainMessageLoop

0x00007ff7547e0280 (Unity) WinMain

0x00007ff755b9855e (Unity) __scrt_common_main_seh

0x00007ff8e5727034 (KERNEL32) BaseThreadInitThunk

0x00007ff8e5ea26a1 (ntdll) RtlUserThreadStart

Unity.Entities.WorldUnmanagedImpl+UnmanagedUpdate_00001487$BurstDirectCall.Invoke (System.Void* pSystemState) (at :0)

Unity.Entities.WorldUnmanagedImpl.UnmanagedUpdate (System.Void* pSystemState) (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/WorldUnmanaged.cs:801)

Unity.Entities.WorldUnmanagedImpl.UpdateSystem (Unity.Entities.SystemHandle sh) (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/WorldUnmanaged.cs:885)

Unity.Entities.ComponentSystemGroup.UpdateAllSystems () (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:664)

UnityEngine.Debug:LogException(Exception)

Unity.Debug:LogException(Exception) (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/Stubs/Unity/Debug.cs:19)

Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:675)

Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:628)

Unity.Entities.SystemBase:Update() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/SystemBase.cs:406)

Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:670)

Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:628)

Unity.Entities.SystemBase:Update() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/SystemBase.cs:406)

Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:670)

Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:634)

Unity.Entities.SystemBase:Update() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/SystemBase.cs:406)

Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:670)

Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ComponentSystemGroup.cs:628)

Unity.Entities.SystemBase:Update() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/SystemBase.cs:406)

Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at Library/PackageCache/com.unity.entities@1.0.0-exp.8/Unity.Entities/ScriptBehaviourUpdateOrder.cs:526)

Official - DOTS development status and next milestones – September 2022 - Unity Forum

  • Havok Physics for Unity to land directly with the pre-release: we made some adjustments to the pricing of Havok Physics for Unity that required a few changes. We chose to land all of it properly directly with the pre-release and skip the beta phase. More details on pricing here.

I don’t know if it will be directly in 2022.2, (I mean, not as a separate package, as you suggest), but for now, they just have not updated the package to 1.0.0 exp, and you are stuck either with Unity Physic or 0.51.1 ECS version (if you truly want to develop on Havok now). They just left the button to switch to Havok in 1.0.0, but it does not work, and will just throw error when pressing play.

I think the Pre-release should land in 3 months, in December, if they keep their schedule of an update every 3 months, as they did since 0.50 (it would match with a full release in March, with 2022 LTS).

1 Like

Ah OK thanks.

Correct, Havok Physics for Unity package is not available for dots-1.0.exp. Therefore, you should not update your project if you are using this physics engine. As the documentation in the Unity forum says, Havok Physics for Unity package will land in the dots-1.0.pre-release late this year.

1 Like