Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
193 stars 9 forks source link

Mirror PlaneNormal should be clamped, or else it causes a crash. #3897

Open ModernBalloonie opened 1 year ago

ModernBalloonie commented 1 year ago

Describe the bug?

If PlaneNormal is set to absurdly high values, or NaN on a mirror, it can cause a crash.

Relevant issues

Not that I could find.

To Reproduce

It seems this doesn't work on certain worlds, so try it in Critter Canyon or somewhere.

Spawn a mirror, set planenormal to NaN, the game crashes. and for some reason this didn't happen unless the graphics settings were set to high in Critter Canyon.

Expected behavior

For the game to not crash.

Log Files

DESKTOP-QBGCSAQ - 2022.1.28.1335 - 2023-05-14 18_54_06.log

Screenshots

2023-05-14 18-55-14-1.webm

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

2022.1.28.1310_YTDLP

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

Critter Canyon Updated

Did this work before?

No

If it worked before, on which build?

No response

Additional context

No response

Reporters

ModernBalloonie