Game crashing whenever looking straight up at sky

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Game crashing whenever looking straight up at sky

Post 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);
}
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Game crashing whenever looking straight up at sky

Post 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
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Game crashing whenever looking straight up at sky

Post 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).
Post Reply