Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.1.2] Synced Enum types fail to compile #75

Closed
techanon opened this issue Oct 27, 2022 · 4 comments
Closed

[1.1.2] Synced Enum types fail to compile #75

techanon opened this issue Oct 27, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@techanon
Copy link

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.

@techanon techanon added the bug Something isn't working label Oct 27, 2022
@MerlinVR
Copy link
Collaborator

Thanks! Should be fixed in b72e19f will look at getting a release out with the fix tomorrow

@MerlinVR
Copy link
Collaborator

MerlinVR commented Oct 27, 2022

Resolved in 1.1.3 (obtainable via VCC U# 1.1.4 because reasons)

@Miner28
Copy link

Miner28 commented Oct 29, 2022

Resolved in 1.1.3 (obtainable via VCC U# 1.1.4 because reasons)

image
Still not fixed for arrays

@MerlinVR MerlinVR reopened this Oct 29, 2022
@MerlinVR
Copy link
Collaborator

Thanks, the array fix will probably be in a release on Monday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants