Field 'System.Collections.Generic.List`1<Microsoft.CodeAnalysis.Diagnostic> Normal.Realtime.SourceGe
what is this error and how to fix this
5 Replies
Hi @Inuninu. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I apologize, but the knowledge sources provided do not contain specific information about the error message you've mentioned. This appears to be a compilation or runtime error related to Normcore, but without more context or details about when and where this error occurs, I cannot provide a definitive answer on how to fix it.
However, based on the general information available about Normcore, here are a few general suggestions that might help:
1. Make sure your Normcore package is up to date. Outdated packages can sometimes cause unexpected errors.
2. Check if all your scripts are compiling correctly. As mentioned in the RealtimeModel documentation, if any script in your project does not compile, Normcore's model compiler will be unable to load any of the state of your model.
3. If you're using Unity 2019 or 2020, ensure that you've manually compiled your Realtime models. The Synchronizing Custom Data guide explains this process.
4. Double-check that you're using
Realtime.Instantiate()
instead of Unity's Instantiate()
when creating Normcore objects, as mentioned in the Creating a Multiplayer Drawing App guide.
If the error persists after trying these steps, I recommend reaching out to the Normcore community on their Discord for more specific assistance, as suggested in their documentation for complex issues.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@354846683693187082> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Field 'System.Collections.Generic.List`1<Microsoft.CodeAnalysis.Diagnostic> Normal.Realtime.SourceGenerators.RealtimeModelCandidate::Diagnostics' icom.normalvr.normcore@2.13.2\Normal.Realtime.SourceGenerators\Normal.Realtime.SourceGenerators.dll', exception Failed to resolve assembly: 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutra
have you got an ide that supports code generation?
Which Unity version are you using?