We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug in detail: A U# specific error occurs when the namespace and class name contain the same string.
Provide steps/code to reproduce the bug:
// A.cs namespace L.A.M { public class A : UdonSharp.UdonSharpBehaviour { } }
// B.cs namespace L.M { public class B : UdonSharp.UdonSharpBehaviour { private A.M.A a; } }
Error statement B.cs: System.Exception: The type or namespace name 'A.M.A' could not be found (are you missing a using directive?)
B.cs: System.Exception: The type or namespace name 'A.M.A' could not be found (are you missing a using directive?)
Expected behavior: This code should be compiled successfully like C#.
Additional Information: By writing the full namespace as follows, no error will occur.
// B.cs namespace L.M { public class B : UdonSharp.UdonSharpBehaviour { // A.M.A -> L.A.M.A private L.A.M.A a; } }
The text was updated successfully, but these errors were encountered:
Thanks for the report, this is probably going to be held until 1.0 to fix.
Sorry, something went wrong.
No branches or pull requests
Describe the bug in detail:
A U# specific error occurs when the namespace and class name contain the same string.
Provide steps/code to reproduce the bug:
Error statement
B.cs: System.Exception: The type or namespace name 'A.M.A' could not be found (are you missing a using directive?)
Expected behavior:
This code should be compiled successfully like C#.
Additional Information:
By writing the full namespace as follows, no error will occur.
The text was updated successfully, but these errors were encountered: