Not Adding Physics Shape To The Character Causes Unhandled Exception #760
Labels
area-Physics
enhancement
New feature or request
good first issue
Good for newcomers
priority-Medium
Important but not necessarily needed can be in release or not.
work-estimate-S
Good for first timers. A relatively quick item to fix, Max of 2x of XS
Release Type: Official Release
Version: Version 4.0
Platform(s): All
Describe the bug
if you don't add a physics shape to the character component and call any physics function for that character you'll get the following error : Unhandled Exception: System.InvalidOperationException: Attempted to call a Physics function that is avaliable only when the Entity has been already added to the Scene.
To Reproduce
Expected behavior
have a clear error that says "character doesn't have physics shape" or something similar
The text was updated successfully, but these errors were encountered: