Crash when using non-existing texture as sky

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Crash when using non-existing texture as sky

Re: Crash when using non-existing texture as sky

by drfrag » Sat May 29, 2021 1:34 pm

Not at all.

Re: Crash when using non-existing texture as sky

by Rachael » Sat May 29, 2021 1:08 pm

pr merged thanks

Re: Crash when using non-existing texture as sky

by drfrag » Sat May 29, 2021 12:52 pm

It was not a software renderer bug, it was the same as the one in the legacy branch.
I've made a PR: https://github.com/coelckers/gzdoom/pull/1400

Crash when using non-existing texture as sky

by RaveYard » Sat May 29, 2021 10:28 am

I tested this both on GZDoom 4.7 latest commit + GZDoom 4.5pre with Vulkan backends. It is a doom software renderer only bug tho.

Spawning this fella will cause the game to crash when any part of sky is visible.

Supposedly any kind of non-existing texture will do.

Code: Select all

Class SkyChangingZombieman : Zombieman
{
    Override Void PostBeginPlay()
    {
        Super.PostBeginPlay();
        Level.ChangeSky(TexMan.CheckForTexture("<FWATER1>",TexMan.Type_Any), TexMan.CheckForTexture("FWATER1",TexMan.Type_Any));
    }
}
Credit for code and discovery goes to: inkoalawetrust

Top