Search Issue Tracker
Fixed
Fixed in 6000.5.0a8
Votes
0
Found in
6000.5.0a7
Issue ID
UUM-135369
Regression
No
Error “System.ArgumentException: Actual value False does not equal expected value True.“ is present when no collider contacts exist
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Platformer.unity” Scene
3. Enter the Play Mode
4. Press “Z“ key
Expected result: Error “System.ArgumentException: Actual value False does not equal expected value True.“ does not exist
Actual result: Error “System.ArgumentException: Actual value False does not equal expected value True.“ is present
Reproducible with: 6.5.0 (6000.5.0a7)
Could not test with: 1.4.5 (6000.5.0a4) (Library\PackageCache\com.unity.physics@0dfa150f2a43\Unity.Physics\ECS\Base\Aspects\ColliderAspect.cs(14,53): error CS0246: The type or namespace name 'IAspect' could not be found)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Also reproducible when moving outside the boundary of the tower and platform box
- Any system scheduling a non-parallel IContactsJob via .Schedule() will trigger the error — this includes DisableCharacterDynamicContactsSystem from the Character Controller package and DisplayContactsSystem from physics debug visualization
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
Resolution Note:
As mentioned, this is a temporary issue that was introduced during 6000.5.0 alpha development that has already been fixed internally. The fix will be made available with the next 6000.5.0 alpha release.
Workaround: either disable safety checks, or embed the Unity Physics package in your project and then comment out the safety checks in IContactsJobs.cs (line 406, in constructor ContactsJobIterator(NativeStream.Reader reader, int forEachIndexBegin, int forEachIndexEnd)) and IJacobiansJobs (line 392, in constructor JacobiansJobIterator(NativeStream.Reader reader, int forEachIndexBegin, int forEachIndexEnd)).
Resolution Note (fix version 6000.5.0a8):
As mentioned, this is a temporary issue that was introduced during 6000.5.0 alpha development that has already been fixed internally. The fix will be made available with the next 6000.5.0 alpha release.
Workaround: either disable safety checks, or embed the Unity Physics package in your project and then comment out the safety checks in IContactsJobs.cs (line 406, in constructor ContactsJobIterator(NativeStream.Reader reader, int forEachIndexBegin, int forEachIndexEnd)) and IJacobiansJobs (line 392, in constructor JacobiansJobIterator(NativeStream.Reader reader, int forEachIndexBegin, int forEachIndexEnd)).