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

3.3.0 missing multiple definitions? #525

Open
drew-512 opened this issue Jan 31, 2025 · 5 comments
Open

3.3.0 missing multiple definitions? #525

drew-512 opened this issue Jan 31, 2025 · 5 comments

Comments

@drew-512
Copy link

I updated from 3.2.0 to 3.3.0 in my 2022.3.56 Unity project and I get 27 errors:

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(40,65): error CS0234: The type or namespace name 'HandleablePromiseBase' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(157,61): error CS0234: The type or namespace name 'PromiseRefBase' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(157,104): error CS0234: The type or namespace name 'VoidResult' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(25,40): error CS0234: The type or namespace name 'LocalObjectPool<>' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(50,71): error CS0234: The type or namespace name 'HandleablePromiseBase' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(169,61): error CS0234: The type or namespace name 'PromiseRefBase' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(169,104): error CS0234: The type or namespace name 'VoidResult' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(69,25): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(78,25): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(166,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(175,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(200,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(208,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(242,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(262,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(269,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/SystemTimerFactoryInternal.cs(278,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(81,25): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(90,25): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(179,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(188,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(214,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(222,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(256,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(276,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(283,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Library/PackageCache/[email protected]/Core/Timers/Internal/TimeProviderTimerFactoryInternal.cs(292,29): error CS0234: The type or namespace name 'InlineOption' does not exist in the namespace 'Internal' (are you missing an assembly reference?)

Image

@timcassell
Copy link
Owner

Are you using OpenUPM? Are you using any compiler define prefixed with PROTO_PROMISE? I just installed it the other day in 2022.3.33f1 and I haven't seen any errors.

@timcassell
Copy link
Owner

timcassell commented Jan 31, 2025

I also just now tried it in an empty project in 2022.3.57f1 and no errors. Are you able to repro in an empty project?

@timcassell
Copy link
Owner

Unity can be weird sometimes. You may need to close Unity, delete your Library, and re-open Unity.

@drew-512
Copy link
Author

drew-512 commented Jan 31, 2025

Yes, OpenUPM and no PROTO* defines. On macOS 14.7 on an M1, running the arm64 native Unity.

Unity can be weird sometimes. You may need to close Unity, delete your Library, and re-open Unity.

Well aware.

I tried nuking the Library dir (for a full db rebuild), which usually is the issue in cases like this where Unity can get confused. Also tried removing the package entirely, exiting, and re-adding 3.3.0. Just did it all again to verify. So weird ugh.

Will try a blank project tomorrow -- a bit demoralized at the moment.

@timcassell
Copy link
Owner

I also tried on M3 without errors. It's probably specific to your project, though I have no idea why. If you are able to share your project, you could email it to me and I can see if I can repro on any of my machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants