Skip to content

[1.1.2] Synced Enum types fail to compile #75

@techanon

Description

@techanon

Describe the bug in detail:
After upgrading to 1.1.2, I am getting the following error type:
[UdonSharp] Packages/dev.architech.protv/Runtime/Core/TVManagerData.cs(17,42): Cannot sync type 'ArchiTech.ProTV.TVPlayState'
The TVPlayState is an enum and it compiles perfectly fine after downgrading back to 1.1.1

I think it has to do with this commit portion:
884e49b#diff-9d803f448d7a5ca806190f1f1f41999d4071c8d64a2f332679514ea838a3d19cR840

Provide steps/code to reproduce the bug:
Create an U# behaviour with an enum as a synced variable and run the compile.

Expected behavior:
Compiles correctly to an int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions