ue4-rts icon indicating copy to clipboard operation
ue4-rts copied to clipboard

Possible Fog of War Bug

Open coolyoshi opened this issue 3 years ago • 12 comments

Not sure if it's just me but player 1 sometimes can't initialize fog of war properly. The screen might go entirely black, or partially black (covered partially by fog), but when it breaks the result is always that fog just doesn't work.

coolyoshi avatar May 21 '21 00:05 coolyoshi

Hey @coolyoshi, have you been able to solve this?

npruehs avatar Jun 05 '21 23:06 npruehs

I think this bug might pop up if the gamestate has too much setup logic/too slow. Did a workaround by initializing vision after a delay once all players are loaded in. It's not a proper solution though.

coolyoshi avatar Jun 06 '21 00:06 coolyoshi

Im having the same issue. What was your exact solution Coolyoshi if I may ask?

LegendsofBarcraft avatar Jul 21 '21 19:07 LegendsofBarcraft

I wouldn't call it a solution but I just wait till all players loaded into game. Then after that I spawn the actors into the game after a 7 second delay. Basically that delay allows enough time to set everything up and avoid fog issues I guess

coolyoshi avatar Jul 22 '21 23:07 coolyoshi

Hmmm interesting, and you add the delay into the gamestate?

LegendsofBarcraft avatar Jul 23 '21 09:07 LegendsofBarcraft

Yeah. Actually I'm not really sure if it fixes it 100%, just seems to improve it alot atleast for me.

coolyoshi avatar Jul 24 '21 06:07 coolyoshi

Can you share more details about your setup? Listen server or dedicated? Example map of the plugin or your own one?

npruehs avatar Aug 24 '21 15:08 npruehs

Hi Nick, I just added a landscape on the example map. Pablo was trying to replicate the issue, but couldnt do it.

EDIT: Ooops, wrong thread, but still relevant I guess?

LegendsofBarcraft avatar Aug 24 '21 15:08 LegendsofBarcraft

I can show it to you on the discord server :)

LegendsofBarcraft avatar Aug 24 '21 15:08 LegendsofBarcraft

I will be there for another 5 hours cca.

LegendsofBarcraft avatar Aug 24 '21 15:08 LegendsofBarcraft

Sorry, but with a baby and two jobs, I kinda have to be able to look at these issues "spontaneously" :)

npruehs avatar Oct 03 '21 19:10 npruehs

Haha! No worries. I understand ;)

LegendsofBarcraft avatar Oct 03 '21 20:10 LegendsofBarcraft