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

Script error after UdonUtils imported #19

Open
Kayrah87 opened this issue Feb 12, 2024 · 2 comments
Open

Script error after UdonUtils imported #19

Kayrah87 opened this issue Feb 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Feedback/Review needed A change was made, is "it" fixed/working now? good first issue Good for newcomers

Comments

@Kayrah87
Copy link

I've imported UdonUtils package as a dependency for UdonAudioUtils,
but as soon as it's imported I get an error referring to undefined params inside the Stopwatch class.

[<color=#FF00FF>UdonSharp] Packages/tlp.udonutils/Runtime/Sync/NetworkTime.cs(131,50): error CS1061: 'Stopwatch' does not contain a definition for 'Elapsed' and no accessible extension method 'Elapsed' accepting a first argument of type 'Stopwatch' could be found (are you missing a using directive or an assembly reference?)

also

[<color=#FF00FF>UdonSharp] Packages/tlp.udonutils/Runtime/Sync/NetworkTime.cs(52,23): error CS1061: 'Stopwatch' does not contain a definition for 'Start' and no accessible extension method 'Start' accepting a first argument of type 'Stopwatch' could be found (are you missing a using directive or an assembly reference?)

image

Using Unity 2022.3.6f1 with VRChat world

@Kayrah87 Kayrah87 added the bug Something isn't working label Feb 12, 2024
@Guribo
Copy link
Owner

Guribo commented Apr 13, 2024

I just fixed the underlying issue, I made a small mistake that allowed you to update to not-yet supported versions of UdonUtils. Please downgrade UdonUtils to 2.0.0 and install the latest version of UVU: 1.0.0-rc.2.

@Guribo
Copy link
Owner

Guribo commented May 11, 2024

Including the latest pre-release (1.0.0-rc.4) it should not produce any errors anymore and is compatible with the latest versions of the other dependencies. Please confirm so that this can be closed :)

@Guribo Guribo added good first issue Good for newcomers Feedback/Review needed A change was made, is "it" fixed/working now? labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Feedback/Review needed A change was made, is "it" fixed/working now? good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants