Phobos-developers/Phobos

HeightShadowScaling glitches

Closed this issue · 1 comments

Description

HeightShadowScaling= glitches if you play more then one game in a row.

Phobos Version

Build 43

Conditions to reproduce

Ares v3.0
Kratos v0.1.13
D-day v3.8

INI code

[AudioVisual]
HeightShadowScaling=true

Steps to reproduce

Start RA2 and then play a skirmish game, build a jumpjet or aircraft and their shadow will scale as expected. Exit the skirmish game and start another, build a jumpjet or aircraft and the shadows will be glitched.

Expected behaviour

The shadow should scale consistently in every game played.

Actual behaviour

After playing the first game jumpjet and aircraft shadows will be fixed at either full size or tiny and on a few occasions they were completely messed up (see screenshot).

shad_error

Additional context

During one game when the shadows were glitch the game crashed when building a jumpjet unit. except.txt file included can provide extcrashdump if needed.
except.txt

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

After some more testing I found that this is a problem with Kratos and not Phobos.