Skip to content

Switching to UNITY_ANDRIOID option is not respected. #37

@Legoman99573

Description

@Legoman99573

This prevents testing between platforms if UdonSharp includes this in the code. This would help for testing that udonsharp code works in editor (and yes, this works on pc and quest with no issues when uploaded to VRChat). Though I own a quest for testing, not everyone who creates worlds probably owns a quest headset, which can make debugging pretty annoying.

#if UNITY_ANDROID
            playerReflectionProbe.GetComponent<ReflectionProbe>().cullingMask = probeCullingMaskOverrideQuest;
#elif UNITY_STANDALONE
            playerReflectionProbe.GetComponent<ReflectionProbe>().cullingMask = probeCullingMaskOverride;
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions