Caeden117 / ChroMapper

GitHub repository for ChroMapper, the Unity-based map editor for Beat Saber.
https://cm.topc.at/dl
GNU General Public License v2.0
300 stars 87 forks source link

Disable Harmony patches on macOS #500

Closed Caeden117 closed 9 months ago

Caeden117 commented 9 months ago

This PR aims to restore ChroMapper compatibility on Apple Silicon devices by disabling its Harmony patches on macOS.

On current dev, this may lead to problematic behavior relating to the Input System, which relies heavily on its Input System patch. However, on 2021.3, this Harmony patch may be less necessary. If needed, this PR can be re-targeted to 2021.3 and merged there.

Unfortunately, Better Bloom will be completely disabled on macOS, since Universal Render Pipeline still has no option to enable a full resolution bloom effect.

Also to note, Unity does not seem to define specific preprocessor symbols for M1 specifically, so these changes will apply to Intel based Apple devices as well, even though Harmony works just fine on Intel devices.