Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Tried the new map with the level selector but it crashes whenever I try to save

I just tried saving and it crashed for me too. I’m a little busy tonight but I should be able to fix that soon. EDIT: It looks like I exceeded my limit on point lights, just had to bump it up and now saving should work fine. I also put in a safeguard to prevent it overflowing in the future.

Also this harsh shadow seems unintentional

It is definitely unintentional, and its weird how it’s clipping certain parts off. That has to be a shader problem but I don’t know if I’ll be able to recreate it on my own setup. Does it do that on every map or just the new one?

(+1)

I loaded a couple of maps through the level selector and it seems that dark shadow is only in the new one, it might be related to the point light issues.

(1 edit)

it might be related to the point light issues.

I think you might be right actually, does it still happen with the hotfix?

Because I had a bad bounds check in the map loading code which was writing into the memory immediately after the pointlight array. A pointlight is a pretty big struct so it definitely could have written all the way into the fog settings (it was also overwriting the number of point lights which was why the game was crashing when saving because it was trying to serialize a brazillion lights and hit an invalid memory location)

I’ve now fixed the bounds check but because I bumped the light limit already I won’t both uploading another hotfix unless I need another fix for this fog issue. If it’s not this bad bounds check then it’s probably going to be something to do with the fog maths in the shader, but if you’re not getting this problem on map 5 then I’m pretty sure it is actually from the point lights.

(+1)

Both the fog and saving issues are solved with the hotfix.