1
0
Fork
You've already forked RingRacersAP
1

Assert fails on debug builds #54

Closed
opened 2026年03月27日 09:36:01 +01:00 by Hamcha · 4 comments
Hamcha commented 2026年03月27日 09:36:01 +01:00 (Migrated from github.com)
Copy link

I tried compiling the game for Linux (since there isn't a build) forgetting to do a release build and the game would crash upon entering the tutorial due to this assert:

github.com/TehRealSalt/RingRacersAP@aa10334a56/src/r_skins.c (L235)

Having only seen the file responsible I initially thought it was because I didn't have the skins used in the tutorial unlocked (Tails/Eggman) but clearly that wasn't it.

I tried compiling the game for Linux (since there isn't a build) forgetting to do a release build and the game would crash upon entering the tutorial due to this assert: https://github.com/TehRealSalt/RingRacersAP/blob/aa10334a56b3fc6e1ef5c4a6d7f9d403c1edf9ff/src/r_skins.c#L235 Having only seen the file responsible I initially thought it was because I didn't have the skins used in the tutorial unlocked (Tails/Eggman) but clearly that wasn't it.
Hamcha commented 2026年03月27日 10:02:42 +01:00 (Migrated from github.com)
Copy link

Here's the spoiler log for the run that triggered the crash btw

message.txt

Here's the spoiler log for the run that triggered the crash btw [message.txt](https://github.com/user-attachments/files/26299581/message.txt)
TehRealSalt commented 2026年03月27日 17:41:28 +01:00 (Migrated from github.com)
Copy link

Did you have any skins loaded? The only thing that I just noticed that looks suspect to me is that this code is running for all skins and not just base-game skins

Did you have any skins loaded? The only thing that I just noticed that looks suspect to me is that this code is running for all skins and not just base-game skins
Hamcha commented 2026年03月27日 18:45:07 +01:00 (Migrated from github.com)
Copy link

This was on basically a fresh save (no profiles, not even video settings) so I doubt I could have had anything loaded

This was on basically a fresh save (no profiles, not even video settings) so I doubt I could have had anything loaded
TehRealSalt commented 2026年03月27日 19:33:29 +01:00 (Migrated from github.com)
Copy link

#57 fixed it for me, let me know if it does the same for you

#57 fixed it for me, let me know if it does the same for you
Sign in to join this conversation.
No Branch/Tag specified
master
forgejo
redux
backup
v0.1.2
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TehRealSalt/RingRacersAP#54
Reference in a new issue
TehRealSalt/RingRacersAP
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?