Search Issue Tracker

Won't Fix

Won't Fix in 1.1.X

Votes

1

Found in [Package]

1.1.X - Entities

Issue ID

ECSB-224

Regression

No

[Android] Player with Unity Physics shows Null Pointer Dereference errors when launched

Package: Unity Physics

-

Reproduction steps:
1. Open the attached project "PhysicsSamples"
2. Open Window > Analysis > Android LogCat
3. Build And Run on a Quest 2 device
4. Observe the Android LogCat window

Expected result: No errors appear in the LogCat window
Actual result: Null Pointer Dereference error pops up in the LogCat window

Reproducible with: 1.0.0-pre.44 (2022.2.9f1)
Could not test with: 1.0.0-exp.8, 1.0.0-pre.15 (com.unity.entities.graphics@1.0.0-pre.15\Unity.Entities.Graphics\Deformations\Systems\PushBlendWeightSystem.cs(45,17): error DC0034: Entities.WithReadOnly is called with an argument deformedEntityToComputeIndex of unsupported type NativeMultiHashMap)

Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650

Reproducible on: Windows 10 Enterprise 21H2

Notes:

* Reproduces if RequireForUpdate is commented out in the `OnCreate` part of the `ModifyBroadphasePairsSystem` in {{PhysicsSamples/Assets/Demo/5. Modify/Scripts/ModifyBroadphasePairsBehaviour.cs}}
* If this statement is required, it should be clearly indicated in the documentation
* In the Editor, it does not reproduce
* 2023.1.0b5 and 2023.2.0a4 won’t finish loading or crash when opening the project (Opened a new case for this issue)
* Followed DOTS CQA workflow when testing

  1. Resolution Note:

    There are no fixes planned for this Bug

  2. Resolution Note (1.1.X):

    OnCreate() function is required to be in the ModifyBroadphasePairsBehaviour.cs file.

    Failing to do so will result in a NullReferenceException: Object reference not set to an instance of an object. We could add a more detailed documentation entry for this case. JIRA. ticket is being made.

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.