Page 1 of 1

FIXED Crash when loading track with specific kart (QUESTION)

PostPosted: 06 Mar 2022, 23:07
by Mortimer
Most tracks work, but some specific tracks crash the game when played with my kart. For example, Skyline works just fine whereas Dyson Speedway crashes when trying to load. When I try playing Dyson Speedway with a different kart, it works.

Every time it crashes, I get this:


---------------------------
SuperTuxKart crashed :/
---------------------------
SuperTuxKart crashed!
Please hit Ctrl+C to copy to clipboard and signal the problem
to the developers on our forum: viewforum.php?f=16

Call stack:

matrix4.h:attachModel:1605
kart.cpp:loadData:2985
kart.cpp:init:200
world.cpp:createKart:494
shared_ptr_base.h:init:687
world_with_rank.cpp:init:44
irrString.h:init:386
race_manager.cpp:startNextRace:654
race_manager.cpp:startNew:522
race_manager.cpp:startSingleRace:1106
track_info_screen.cpp:onEnterPressedInternal:614
track_info_screen.cpp:eventCallback:626
event_handler.cpp:sendEventToUser:726
event_handler.cpp:onWidgetActivated:783
event_handler.cpp:onGUIEvent:834
event_handler.cpp:OnEvent:163
CGUIButton.cpp:OnEvent:228
CGUIButton.cpp:OnEvent:221
CGUIEnvironment.cpp:postEventFromUser:544
CIrrDeviceStub.cpp:postEventFromUser:229
CIrrDeviceSDL.cpp:run:808
main_loop.cpp:run:707
main.cpp:main:2557
crtexe.c:__tmainCRTStartup:341
crtexe.c:WinMainCRTStartup:197
BaseThreadInitThunk
RtlUserThreadStart
---------------------------
OK
---------------------------


Here's the kart: https://drive.google.com/file/d/1yFlu-Q ... sp=sharing

Re: Crash when loading track with specific kart (QUESTION)

PostPosted: 07 Mar 2022, 07:44
by benau
your kart doesn't seem to have a 'Car' bone to attach the headlights in night track

Re: Crash when loading track with specific kart (QUESTION)

PostPosted: 08 Mar 2022, 12:43
by Mortimer
benau {l Wrote}:your kart doesn't seem to have a 'Car' bone to attach the headlights in night track

Would it be easiest to remove the headlights, or would that break it even more? I was using Tux kart as a base and it came with the headlights.

Re: Crash when loading track with specific kart (QUESTION)

PostPosted: 09 Mar 2022, 04:14
by benau
yes remove the headligth should be fine, you probably want to remove the hat positioner (if any) too

Re: Crash when loading track with specific kart (QUESTION)

PostPosted: 09 Mar 2022, 13:12
by Mortimer
benau {l Wrote}:yes remove the headligth should be fine, you probably want to remove the hat positioner (if any) too

Thanks for the help! The kart works perfectly now :D