Reproduction steps:
1. Open the attached “Egg Game.zip” Project
2. Open the “BaseScene” and enter the Play mode
3. Move in the Game so that the “słoiki (3)” (Jar) GameObject is visible, using WASD keys
4. Observe the “słoiki (3)” GameObjects' shadow on the wall while moving up and down
5. Exit the Play mode
6. Build and Run the Project (File > Build and Run)
7. Repeat 3rd and 4th steps
Expected result: “słoiki (3)” GameObjects' shadow on the wall is consistently shown, like in the Play mode
Actual result: “słoiki (3)” GameObjects'' shadow disappears based on the Players' position
Reproducible with: 2022.3.19f1, 2023.2.9f1
Couldn’t test with: 2021.3.34f1 (Unfixable compiler errors due to downgrading), 2023.3.0b6 (3rd Party Package associated errors)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Build would usually only be successful on the second try