Character component with complex collider throws exception and crashes program
Open
Nobody has claimed this yet.
area-Physics
bug
good first issue
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
- Starting with the Stride "Terrain" sample.
- Added a vehicle model fbx file.
- Used Add Physics asset / convex hull to create collider
- Used this collider with a rigid body, works fine.
- Tried to use this collider with a character component, and it crashes the program.
- Made a much simpler multi box collider for the vehicle (one rectangle and four cylinders).
- This simpler collider also crashes the program when used with a character component.
Stack trace from crash attached
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Stride Terrain sample and reproduce the crash using the vehicle FBX collider, first with the convex-hull collider and then with the multi-box collider. Read the attached strideCharacterWithComplexColliderCrash.txt stack trace and compare character-component behavior with the working rigid-body case. Done means using either collider with a character component no longer crashes the program.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100