-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
error CS0400: The type or namespace name 'Google' could not be found in the global namespace (are you missing an assembly reference?) #6168
Comments
Had the same problem when upgrade from Unity 2023 to Unity 6. For me, I got it working by downloading the latest ml-agents packages from the develop branch and copy them into my project after deleting the previous folders (If you have custom code in them you should back them up). Then I went into my assets folder and updated the ModelOverrider.cs script because there a change that broke it. You can also try downloading the Google.Protobuf dll from the develop branch too and try overriding the assembly references in the assembly definition but I couldn't get that to work easily so i just downloaded whatever was in the develop branch. I would classify this as a bug as well, idk why the references broke all of the sudden when I been upgrading from different versions of Unity 2022 & 2023 |
@VictorBarbosa What version of Unity are you using? |
I got same error using unity 6000.0.30f1 |
It worked for me too 🙏 |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. Please open a new issue for related bugs. |
Platform: macOS / M1
Version 3.0 contains this issue: even with a simple project, if you create a new project and add version 3.0, this error occurs. This happens during the Build and Run process. Does anyone know how to fix this?
The text was updated successfully, but these errors were encountered: