Skip to content

FIXING ISSUE #6728 : Game crashing on physics debug draw when AVX is disabled.#6732

Open
RyuDanuer wants to merge 2 commits intoRevolutionary-Games:masterfrom
RyuDanuer:master
Open

FIXING ISSUE #6728 : Game crashing on physics debug draw when AVX is disabled.#6732
RyuDanuer wants to merge 2 commits intoRevolutionary-Games:masterfrom
RyuDanuer:master

Conversation

@RyuDanuer
Copy link

@RyuDanuer RyuDanuer commented Feb 13, 2026

Brief Description of What This PR Does

Implemented a targeted fix for #6728 by removing persisted RVec3Arg usage from the physics debug draw data path.
The debug-draw pipeline no longer stores/passes RVec3Arg references across frames/callbacks; it now uses owned JPH::RVec3 values.
Non-AVX compile validation succeeded for the extension path (THRIVE_AVX=OFF), producing libthrive_extension_without_avx.dll, so the cross-module signature changes are consistent.

Related Issues

Progress Checklist

Note: before starting this checklist the PR should be marked as non-draft.

  • PR author has checked that this PR works as intended and doesn't
    break existing features:
    https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
    (this is important as to not waste the time of Thrive team
    members reviewing this PR)
  • Initial code review passed (this and further items should not be checked by the PR author)
  • Functionality is confirmed working by another person (see above checklist link)
  • Final code review is passed and code conforms to the
    styleguide.

Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.

…lutionary-Games#6728

Implemented a targeted fix for Revolutionary-Games#6728 by removing persisted RVec3Arg usage from the physics debug draw data path.
The debug-draw pipeline no longer stores/passes RVec3Arg references across frames/callbacks; it now uses owned JPH::RVec3 values.
Non-AVX compile validation succeeded for the extension path (THRIVE_AVX=OFF), producing libthrive_extension_without_avx.dll, so the cross-module signature changes are consistent.
FIXING Game crashing on physics debug draw when AVX is disabled. Revolutionary-Games#6728
@hhyyrylainen
Copy link
Member

This PR has the same git issue as your other one with just the full files marked as new so I can't really see what the actual changes are here yet. So that git problem needs fixing first.

One thing I'd like to note is that you can use force pushing to replace any commits in this PR so you don't have to close and open a bunch of new ones testing what works.

@RyuDanuer
Copy link
Author

im new to github. i will check how to do that! but in the past few days i started working on this project, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants