Page 1 of 1

Game crashing whenever looking straight up at sky

Posted: Fri Dec 09, 2016 4:49 pm
by Marth8880
So I've noticed this issue on a lot of mod maps (and several stock and custom maps in MEU) where the game crashes whenever you look straight up at the sky (and maybe spin around a bit), and I've never been able to determine the exact cause of it. Anyone have any ideas/leads?

Here's a video of what I mean:




EDIT:

I'm not completely convinced that this is even related to any of the sky's properties or associated assets; the crash still occurs even when the .sky file only contains:

Code: Select all

SkyInfo()
{
	Enable(1);
}

Re: Game crashing whenever looking straight up at sky

Posted: Sat Dec 10, 2016 1:45 am
by AnthonyBF2
I had this happen a lot in the PSP mods. For me, it was related to NearSceneRange and FarSceneRange values. To this day I still can't set the max view past a certain number in Rhen Var: Citadel because of that issue. I've also experienced but fixed it on Naboo Plains and Bespin Cloud City

Re: Game crashing whenever looking straight up at sky

Posted: Sat Dec 10, 2016 1:57 am
by Marth8880
Interesting. In any regard, I've narrowed it down to the presence of rainshadow regions (it occurs even with just 1 unrotated box region), which is very very odd. Still looking into it.

EDIT:

Well, I've managed to fix it. It turns out that the precipitation effect's Range value was too high (35). Lowering it to 25 fixed the problem (tested 30 - that crashed too).