Error with RealtimePool on updating to 2.15.1: AsyncInsantiateOperation<> could not be found
I have returned to a project using Normcore which I had not updated for a month or so. I updated Normcore to version 2.15.1 and some errors immediately appeared on the first recompile.
Library\PackageCache\com.normalvr.normcore@2.15.1\Normal.Realtime.Shared\Pooling\RealtimePool.cs(216,16): error CS0246: The type or namespace name 'AsyncInstantiateOperation<>' could not be found (are you missing a using directive or an assembly reference?)
This error was consistently repeated for some other lines in the RealtimePool.cs file.
Checking the changelog, I saw that the RealtimePool system had been added in version 2.15.0. I reverted to that version and had the same problem. Was there an issue with the original configuration of my project, or is this a known issue? I'll admit I didn't look very closely before confirming the Normcore update, since it works without issue normally. Any help or advice appreciated.8 Replies
Hi @JQHY. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I understand you're encountering errors with the RealtimePool system after updating Normcore to version 2.15.1. Based on the knowledge sources provided, I don't have specific information about this particular error with the AsyncInstantiateOperation<> type in RealtimePool.cs.
The RealtimePool system appears to be a relatively new feature added in version 2.15.0 as you mentioned. The error suggests there might be a missing reference or namespace issue with the AsyncInstantiateOperation<> type.
Here are some general troubleshooting steps you could try:
1. Make sure you've restarted Unity after updating Normcore, as this is often recommended when updating packages Upgrading from Normcore 1 to Normcore 2.
2. Check if there are any other Normcore-related packages or dependencies that might need updating alongside the main package.
3. If you're using Unity 2021 or newer, Normcore should automatically generate the necessary code for models. For older Unity versions, you might need to manually compile models Compiling a model.
4. Consider reaching out to the Normcore community on their Discord for more specific help with this issue, as this appears to be a technical issue that isn't covered in the provided knowledge sources.
Since this seems to be a specific technical issue with a newer feature of Normcore, and the knowledge sources don't contain information about this particular error, I would recommend contacting Normcore's support directly for the most accurate assistance.
Unity: 2022.3.10f1
Normcore: 2.15.1
I hope this helps point you in the right direction!
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@248870661311823883> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
@kapa.ai how do I most simply contact normcores support?
Let me check the knowledge base for you again. One moment! :books:
----------------------
Based on the knowledge sources, the most straightforward way to contact Normcore's support is through their Discord community. This is mentioned in several places in the documentation as the recommended channel for getting help with issues not covered in the documentation.
You can join Normcore's Discord community at: Normcore Discord
As stated in their documentation: "If the topic isn't covered on our docs, join our Discord and ask us!" Common Questions
For more specific or business-related inquiries, especially regarding Normcore Private, you can also reach out to them through their contact page: Contact Normal
I hope this helps you get the support you need for your RealtimePool issue!
I'm looking at your Unity 2022.3.10f1 and Normcore 2.15.1 setup, and this specific error with AsyncInstantiateOperation<> would be best addressed by their support team directly.
Is there anything else you'd like to know about contacting Normcore support?
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@248870661311823883> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Hey, thanks for reporting the issue. We have a fix in the works, just adding the finishing touches to it.
We found that it affects Unity versions 2022.3.0f1 through 2022.3.19f1, does your project fall within that range?
In the short-term you can upgrade your Unity version to a newer 2022.3.X version.
Or you can make a local copy of the latest Normcore version and comment out
RealtimePool.cs
(it's an optional component that won't affect core functionality).Hi, glad to hear theres a fix on the way. This project's version is 2022.3.9f1, is that in the range?
Using this project isn't urgent so I can wait a while, thanks for the advice nonetheless.
Hold on no, my mistake - the project is version 2020.3.20f1! Possibly that's an issue in itself, its older than I thought - I might update the whole project.
We have a fix going out shortly, but worth trying to upgrade to the 2020.3 LTS version. That should resolve it in the meantime
This is fixed in v2.15.2: https://discord.com/channels/393839515074297858/852911447784947723/1353912597497249862