You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just imported mirror to my project and I am getting a "The type or namespace name 'WhereAllocation' could not be found" error
From documentation it looks like WhereAllocation is supposed to be part of mirror so I don't know how it could be missing, but I'm not finding it anywhere in my project either.
Suspect it was simply not included in the latest version on the unity asset store.
I downloaded and installed a previous version a month or so ago and didn't have any problems so I assume this is something new to one of the recent updates.
Repro:
-Start a new project
-Go to my assets in the asset store page
-Locate mirror, and update to latest version
-Import latest version of mirror
-Check console
-Observe code does not compile. WhereAllocation is missing
The text was updated successfully, but these errors were encountered:
It is in the asset store release. Per the ReadMe, you need to restart Unity after importing Mirror.
If that doesn't fix it, completely remove Mirror, re-import from the asset store, and restart Unity again.
Sorry just getting back to this. That does not appear to have helped. Deleted the entire Mirror folder, re-imported, then closed unity and re-opened it. The NonAlloc errors persisted. Just to be 100% sure I deleted Mirror again, closed unity, opened, it, imported, closed unity, opened unity, the issue still did not resolve.
Now that you have pointed them out, I can find the where-allocation folder, but the compiler still can't find it.
I am on Unity 2018.4.2.4f1 using .Net 4.x
Just imported mirror to my project and I am getting a "The type or namespace name 'WhereAllocation' could not be found" error
From documentation it looks like WhereAllocation is supposed to be part of mirror so I don't know how it could be missing, but I'm not finding it anywhere in my project either.
Suspect it was simply not included in the latest version on the unity asset store.
I downloaded and installed a previous version a month or so ago and didn't have any problems so I assume this is something new to one of the recent updates.
Repro:
-Start a new project
-Go to my assets in the asset store page
-Locate mirror, and update to latest version
-Import latest version of mirror
-Check console
-Observe code does not compile. WhereAllocation is missing
The text was updated successfully, but these errors were encountered: