Search Issue Tracker
By Design
Votes
1
Found in
2022.3.4f1
2023.1.3f1
2023.2.0a23
Issue ID
UUM-41893
Regression
No
"Assertion failed on expression: 'IsNormalized(Vec3FromPx(direction))'" error when using RaycastCommand.ScheduleBatch in Play Mode
How to reproduce:
1. Open the attached user “RaycastErrorSample.zip“ project
2. Open the “RaycastErrorScene“ Scene
3. Enter Play Mode
Expected result: No errors in the Console
Actual result: “Assertion failed on expression: 'IsNormalized(Vec3FromPx(direction))'“ error in the Console
Reproducible with: 2022.3.4f1, 2023.1.3f1, 2023.2.0a23
Can’t test with: 2021.3.28f1 (Can’t enter Play Mode due to errors in the Console)
Reproduced on: macOS 13.4.1 (Intel), Windows 10 (by reporter)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
The assert seen in this issue, occurs when a direction vector that has not been normalized is passed in. The expectation when providing the direction vector is that it is already normalized.