[GZDoom 4.11.0] Error when loading Universal Rain & Snow

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Zenon
Posts: 549
Joined: Thu Apr 20, 2006 6:05 pm
Graphics Processor: nVidia with Vulkan support
Location: New Zealand

[GZDoom 4.11.0] Error when loading Universal Rain & Snow

Post by Zenon »

Universal Rain & Snow doesn't work with 4.11.0
viewtopic.php?t=70432

Script error, "Universal Rain and Snow.pk3:weather/precipitation.zs" line 11:
Cannot convert Pointer<NativeStruct<F3DFloor>> to Pointer<NativeStruct<Sector>>

Execution could not continue.

1 errors while parsing DECORATE scripts

screw imgur not working
Blue Shadow
Posts: 5040
Joined: Sun Nov 14, 2010 12:59 am

Re: [GZDoom 4.11.0] Error when loading Universal Rain & Snow

Post by Blue Shadow »

The error is due to this change. The mod most probably needs updating, as a result.
User avatar
Zenon
Posts: 549
Joined: Thu Apr 20, 2006 6:05 pm
Graphics Processor: nVidia with Vulkan support
Location: New Zealand

Re: [GZDoom 4.11.0] Error when loading Universal Rain & Snow

Post by Zenon »

Oh cool, I'll let them know
User avatar
Xeotroid
Posts: 443
Joined: Sat Jun 23, 2012 7:44 am
Graphics Processor: nVidia with Vulkan support
Location: Czech Rep.

Re: [GZDoom 4.11.0] Error when loading Universal Rain & Snow

Post by Xeotroid »

If the fix possibly breaks existing mods, is it possible to somehow make the change ZScript version-dependant?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [GZDoom 4.11.0] Error when loading Universal Rain & Snow

Post by Graf Zahl »

The problem here is, you cannot do that. The variable had the wrong type so any attempt to use it would have crashed.
Any mod that had been using it needs fixing.

Return to “Bugs [GZDoom]”