Search Issue Tracker

Fixed

Fixed in 0.51.0

Votes

0

Found in [Package]

0.51.0

Issue ID

HVKB-3

Regression

Yes

[M1] "DllNotFoundException: HavokNative assembly" error appears when entering Play Mode if a scene contains Havok Physics

Package: Havok Physics for Unity

-

How to reproduce:
1. Open the attached “Physics.zip“ project
2. Open the “Pyramids” Scene and enter Play Mode
3. Observe the Console window

Expected result: No errors
Actual result: “DllNotFoundException: HavokNative assembly” error appears

Reproducible with: 0.51.1-preview.21 (2021.3.4f1, 2021.3.8f1)
Not reproducible with: 0.51.1-preview.21 (2020.3.36f1, 2020.3.38f1, 2021.3.9f1)
Could not test with: 2020.3.35f1, 2021.1.0a1, 2021.3.3f1, 2022.1.0a1, 2022.1.13f1, 2022.2.0b5, 2023.1.0a10 (Errors after downgrading and updating the project)

Reproduced on: macOS 12.4 Beta (M1)
Not reproducible on: macOS 12.4 (Intel)

Note: Not reproducible in the Player

Error:
DllNotFoundException: HavokNative assembly:<unknown assembly> type:<unknown type> member:(null)

Havok.Physics.Plugin.EnsureUnlocked () (at Library/PackageCache/com.havok.physics@0.51.0-preview.32/Havok.Physics/HavokPlugin.cs:190)

Havok.Physics.SimulationContext..ctor (Havok.Physics.HavokConfiguration config) (at Library/PackageCache/com.havok.physics@0.51.0-preview.32/Havok.Physics/HavokSimulation.cs:68)

Unity.Physics.Systems.ImmediatePhysicsWorldStepper..ctor (Unity.Entities.SystemBase system, System.UInt32 physicsWorldIndex) (at Assets/Common/Scripts/ImmediatePhysicsWorldStepper.cs:30)

  1. Resolution Note (fix version 0.51.0):

    Fixed in: 0.51.1-preview.21 (2021.3.9f1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.