stride3d / stride3d/stride

Character component with complex collider throws exception and crashes program

Open
#1,177 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Starting with the Stride "Terrain" sample.
  2. Added a vehicle model fbx file.
  3. Used Add Physics asset / convex hull to create collider
  4. Used this collider with a rigid body, works fine.
  5. Tried to use this collider with a character component, and it crashes the program.
  6. Made a much simpler multi box collider for the vehicle (one rectangle and four cylinders).
  7. This simpler collider also crashes the program when used with a character component.

Stack trace from crash attached

strideCharacterWithComplexColliderCrash.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.