AllPoland / ArcViewer

Open source, overengineered 3D Beat Saber map previewer and replay viewer
https://allpoland.github.io/ArcViewer/
GNU General Public License v3.0
60 stars 15 forks source link

Lights are glitched out on ARM based Mac #37

Closed UrkiMimi closed 1 year ago

UrkiMimi commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Open any replay on any ARM based Mac.
  2. Profit. May be more noticeable when you have lights set to static.

Expected behavior Lights will glitch out and have rendering issues.

Screenshot 2023-08-27 at 11 31 21 PM

Build Info:

AllPoland commented 1 year ago

I can't really tell what's wrong based on that image, could you possibly record a video of the lights glitching out?

UrkiMimi commented 1 year ago

https://github.com/AllPoland/ArcViewer/assets/74517821/dc377c69-aad9-4c60-8092-228c5024de9c

What I've also discovered is that opening ArcViewer in the Unity Editor seems to sort of fix this issue as they don't flicker when the camera is moved.

AllPoland commented 1 year ago

Looks like Z fighting, fairly easy fix 👍🏻

Though it's kind of odd that it's only happening on some platforms

AllPoland commented 1 year ago

Should be fixed in 0.5.3

UrkiMimi commented 1 year ago

I'm still getting the issue on v0.5.3. Apparently, this is an issue with Unity WebGL itself not liking the Metal API on ARM and not the viewer.

Screen Shot 2023-08-28 at 6 42 02 PM
AllPoland commented 1 year ago

Actually, that's still just Z fighting, I forgot to bump the scale of that right-hand laser lmao Should be fixed whenever I push the next update.

AllPoland commented 1 year ago

Ok, decided to just push a hotfix with a couple other things anyway. It should be fixed now, but definitely do tell me if it still happens somewhere.