# VRC SDK can not be loaded because of 'Unity.Mathematics'

**URL:** https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701
**Category:** Help!
**Created:** [December 28, 2022, 6:03pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701 "2022-12-28T18:03:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [December 28, 2022, 6:03pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/1 "2022-12-28T18:03:39Z")

</div>

Hello everyone!

When I install Unity (2019.4.31f1) with the CompanionApp on my Win11 PC, the “VRChat SDK” tab shows up in Unity but only offers me to reload the SDK.  
In the console I get errors regarding a missing assembly “Unity.Mathematics” which is installed.

 ![Screenshot 2022-12-23 001128](https://global.discourse-cdn.com/vrchat/original/2X/e/e332c2ea55db3377fe30ea9207b376de0a92016e.png)

When I click on “reload SDK”, it doesn’t help but the error messages of the console disappear (with the exception of the two Microsoft Visual C# info (?) messages).  
I tried installing Unity and the SDK multiple times and ran the install and app as administrator, without any luck.

Maybe someone has an idea what the issue might be?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![docteh](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/docteh/32/12171_2.png) [@docteh](https://ask.vrchat.com/u/docteh)
#### Post date: [December 29, 2022, 12:02am UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/2 "2022-12-29T00:02:35Z")

</div>

![image](https://global.discourse-cdn.com/vrchat/original/2X/f/f6fb163d61fca90c0bccae0e392580bacc54137c.png)

 ![image](https://global.discourse-cdn.com/vrchat/original/2X/5/5c3af0ed657afc4d80204a1e98f872168fa2baef.png)

My package manger looks different from yours. I tried launching from both Unity Hub and VCC to be sure.

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [December 29, 2022, 6:11pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/3 "2022-12-29T18:11:16Z")

</div>

Strange that my version seems to need some dependancies?  
Did you install your Unity and SDK via the CompanionApp?

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [December 29, 2022, 8:21pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/4 "2022-12-29T20:21:27Z")

</div>

Could you please try updating your `Mathematics` package to version `1.2.6` in the package manager and seeing if that fixes the errors?

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [December 29, 2022, 8:35pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/5 "2022-12-29T20:35:52Z")

</div>

I tried this before, but sadly it didn’t help.  
I just did the update:

 ![Screenshot 2022-12-29 213453](https://global.discourse-cdn.com/vrchat/original/2X/7/75c80165165b8192b040dc9ce49b40f2d8820f71.png)

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [February 6, 2023, 1:39pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/6 "2023-02-06T13:39:29Z")

</div>

If you try one of our template repositories, does the same issue occur?

> **[Using Project Template Repos | VRChat Creator Companion](https://vcc.docs.vrchat.com/guides/using-project-template-repos/)**
>
> To get you started with VRChat content creation quickly, we provide a set of official Unity project templates.

That would let us narrow down the issue.

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [February 8, 2023, 4:37pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/7 "2023-02-08T16:37:31Z")

</div>

I tried using the templates “template-udonsharp-main” and “template-avatar-main”, but it didn’t help.

When I open these new template projects using the Unity Hub, the entire “VRChat SDK” tab is missing.  
I can see that at the start of the Unity Editor there are quite a bunch of imports going on.  
When the startup is completed, the console doesn’t show any errors (besides of two messages about “Microsoft Visual C# Compiler”, which looks more like an info than an error.  
Other than described in the online description, there is no popup message about “This project requires some VRChat Packages…”.  
I can see in the project assets the “VRChat Package Bootstrapper” with the “License” and “package” files, as well as the “Bootstrap” and “VRChat.Bootstrapper.Editor Import Settings” files.

When I “migrate” this project using the VCC I get the same errors as if I created a new project in the VCC in the first place.  
(So I see the “VRChat SDK” tab but only with the reload option, as well as the error messages in the console about the missing “mathmatics” packages.)

With regards

Tobias

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [February 8, 2023, 7:42pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/8 "2023-02-08T19:42:14Z")

</div>

It sounds like this issue may be related to Unity itself.

You may want to check Unity’s `Editor.log` file to track down the issue: [Unity - Manual: Log files](https://docs.unity3d.com/Manual/LogFiles.html)

You could also try reimporting the SDK with the ‘Reimport All’ option, and seeing if that affects the outcome.  
 ![Unity_dbB76r4Dgw](https://global.discourse-cdn.com/vrchat/original/3X/2/2/22443166d61583a63277a527a5cff2795ec14840.png)

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [February 11, 2023, 9:46pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/9 "2023-02-11T21:46:53Z")

</div>

When I have a look into the editor.log, I found the same errors I can see in the “Console” Window in the editor itself, right after the importing has finished:

_Error: Could not load signature of VRC.Dynamics.MathUtil:DistancePointToPlane due to: Could not load file or assembly ‘Unity.Mathematics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. assembly:Unity.Mathematics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type: member:(null) signature:_  
_(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoAttributeHelpers.cpp Line: 363)_

_Unloading broken assembly Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRC.Dynamics.dll, this assembly can cause crashes in the runtime_  
_(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoManager.cpp Line: 1233)_

_Native extension for WindowsStandalone target not found_  
_Refreshing native plugins compatible for Editor in 4.10 ms, found 5 plugins._  
_Preloading 1 native plugins for Editor in 0.62 ms._  
_VRCBuildPipelineCallbacks failed to load a type in assembly ‘VRC.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. If this is Assembly-CSharp it’s just Unity being in the middle of loading._  
_UnityEngine.StackTraceUtility:ExtractStackTrace ()_  
_UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])_  
_UnityEngine.Logger:Log (UnityEngine.LogType,object)_  
_UnityEngine.Debug:LogWarning (object)_  
_VRC.SDKBase.Editor.BuildPipeline.VRCBuildPipelineCallbacks:Initialize ()_  
_System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)_  
_System.Reflection.MethodBase:Invoke (object,object[])_  
_UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()_

Later in the log I see some problems, resolving the Unity3d Website (but I would assume that this shouldn’t be causing the issue?):

_Curl error 6: Could not resolve host: [cdp.cloud.unity3d.com](http://cdp.cloud.unity3d.com)_

Interestingly enough, later in the Log, when I tried to reimport the package, the error message above doesn’t appear:

_Start importing Packages/com.unity.collab-proxy/Editor/PlasticSCM/Assets/Layouts/ProgressControlsForDialogs.uxml using Guid(feccc3dff22272744a267246ae760a73) Importer(-1,00000000000000000000000000000000)_  
_Done importing asset: ‘Packages/com.unity.collab-proxy/Editor/PlasticSCM/Assets/Layouts/ProgressControlsForDialogs.uxml’ (target hash: ‘64b4e40f2feb68b6a4cc0aa3e2e2320f’) in 0.010580 seconds_  
_Launched and connected shader compiler UnityShaderCompiler.exe after 0.02 seconds_  
_Refreshing native plugins compatible for Editor in 0.61 ms, found 5 plugins._  
_Preloading 1 native plugins for Editor in 0.08 ms._  
_Refresh completed in 10.841692 seconds._  
_RefreshInfo: RefreshV2(ForceSynchronousImport)_  
_RefreshProfiler: Total: 10839.567ms_

Sadly it still has no positive effect and the “VRChat SDK” still just offers to “reload”.

I put the editor.log in the attachments.

Thank you for your help!

With regards

Tobias

(Attachment Editor.log is missing)

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [February 11, 2023, 9:47pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/10 "2023-02-11T21:47:58Z")

</div>

When I have a look into the editor.log, I found the same errors I can see in the “Console” Window in the editor itself, right after the importing has finished:

_Error: Could not load signature of VRC.Dynamics.MathUtil:DistancePointToPlane due to: Could not load file or assembly ‘Unity.Mathematics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. assembly:Unity.Mathematics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type: member:(null) signature:_  
_(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoAttributeHelpers.cpp Line: 363)_

_Unloading broken assembly Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRC.Dynamics.dll, this assembly can cause crashes in the runtime_  
_(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoManager.cpp Line: 1233)_

_Native extension for WindowsStandalone target not found_  
_Refreshing native plugins compatible for Editor in 4.10 ms, found 5 plugins._  
_Preloading 1 native plugins for Editor in 0.62 ms._  
_VRCBuildPipelineCallbacks failed to load a type in assembly ‘VRC.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. If this is Assembly-CSharp it’s just Unity being in the middle of loading._  
_UnityEngine.StackTraceUtility:ExtractStackTrace ()_  
_UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])_  
_UnityEngine.Logger:Log (UnityEngine.LogType,object)_  
_UnityEngine.Debug:LogWarning (object)_  
_VRC.SDKBase.Editor.BuildPipeline.VRCBuildPipelineCallbacks:Initialize ()_  
_System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)_  
_System.Reflection.MethodBase:Invoke (object,object[])_  
_UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()_

Later in the log I see some problems, resolving the Unity3d Website (but I would assume that this shouldn’t be causing the issue?):

_Curl error 6: Could not resolve host: [cdp.cloud.unity3d.com](http://cdp.cloud.unity3d.com)_

Interestingly enough, later in the Log, when I tried to reimport the package, the error message above doesn’t appear:

_Start importing Packages/com.unity.collab-proxy/Editor/PlasticSCM/Assets/Layouts/ProgressControlsForDialogs.uxml using Guid(feccc3dff22272744a267246ae760a73) Importer(-1,00000000000000000000000000000000)_  
_Done importing asset: ‘Packages/com.unity.collab-proxy/Editor/PlasticSCM/Assets/Layouts/ProgressControlsForDialogs.uxml’ (target hash: ‘64b4e40f2feb68b6a4cc0aa3e2e2320f’) in 0.010580 seconds_  
_Launched and connected shader compiler UnityShaderCompiler.exe after 0.02 seconds_  
_Refreshing native plugins compatible for Editor in 0.61 ms, found 5 plugins._  
_Preloading 1 native plugins for Editor in 0.08 ms._  
_Refresh completed in 10.841692 seconds._  
_RefreshInfo: RefreshV2(ForceSynchronousImport)_  
_RefreshProfiler: Total: 10839.567ms_

Sadly it still has no positive effect and the “VRChat SDK” still just offers to “reload”.

I put the editor.log in the attachments.

Thank you for your help!

With regards

Tobias

(Attachment Editor.zip is missing)

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [February 13, 2023, 6:30pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/11 "2023-02-13T18:30:40Z")

</div>

Hmm, that seems to indicate that there may be an issue with Unity! Here are a couple more things you can try.

1. You may have tried this already, but - opening and closing Unity can sometimes resolve import issues.
2. When choosing a location for your project, make sure that it does not exceed Windows’s path length limit. (256 characters). You may also want to avoid OneDrive folders!
3. It may still be related to Unity’s `Mathematics` or `Burst` package.
4. Go to the packages folder, and see if VRChat’s SDK is actually present. (It **should** , especially if you used one of our templates)

Let me know how it goes!

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [March 1, 2023, 5:26pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/12 "2023-03-01T17:26:53Z")

</div>

Thank you for the suggestions! (And sorry for the delay!)

1. I lost count of how often I restarted Unity…

2. I tried this by using the “C:\temp” folder for the project files

3. I think so too, but I tried different approaches on that (updating the packages inside of unity; using a different package from github; using a package from a friend who is running VRC SDK successfully…)

!!! 4. The folder “C:\Users\*user\*\AppData\Local\Unity\cache\packages\packages.unity.com” does contain the folders like [“com.unity.mathematics@1.2.6”](mailto:com.unity.mathematics@1.2.6) and such, but no hint of a VRC SDK folder! is there a way to “import” it there manually?

Thank you so much for your help!

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [March 1, 2023, 6:00pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/13 "2023-03-01T18:00:14Z")

</div>

Ah, it _shouldn’t_ be in Unity’s package cache - it should be in your project’s `Packages` folder, next to your `Assets` folder.

---

<div class="post-metadata">

### Author: ![Merenek](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/merenek/32/15539_2.png) [@Merenek](https://ask.vrchat.com/u/Merenek)
#### Post date: [March 2, 2023, 8:15pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/14 "2023-03-02T20:15:00Z")

</div>

Ah I see, well “unfortunatelly” the “com.vrchat.avatars”, “com.vrachat.base” and “com.vrchat.core.vpm-resolver” folders are in the project folder…

---

<div class="post-metadata">

### Author: ![Fax](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/fax/32/14898_2.png) [@Fax](https://ask.vrchat.com/u/Fax)
#### Post date: [March 2, 2023, 9:06pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/15 "2023-03-02T21:06:41Z")

</div>

By ‘project folder’, do you mean `YourProjectName/Packages`? Because that’s correct!

---

<div class="post-metadata">

### Author: ![CaptPanda](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/captpanda/32/17417_2.png) [@CaptPanda](https://ask.vrchat.com/u/CaptPanda)
#### Post date: [April 5, 2023, 10:51pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/16 "2023-04-05T22:51:58Z")

</div>

Hi there! I appear to have the exact same issue, which strangely enough occurred after a creator companion update in early april. The exact messages vary as I attempt to fix it, but the primary issue focuses around blend trees.

For example, this is a character with physbones on the nose, and I use blendtrees to adjust the transforms. However after the start of April, of however I try to rearrange Unity and the project and CC, I always have this issue. Note that these animations don’t directly edit the physbone component, ironically the animations for those work fine.

 ![image](https://global.discourse-cdn.com/vrchat/original/3X/d/0/d03becf588053322c8f440ebb588e8478daff059.png)

This is the most recent set of errors I have. This is a fresh project with a backup of the previous project put into it.

 ![image](https://global.discourse-cdn.com/vrchat/original/3X/0/7/07295e8309663224b5ef65c706e75d486639ad70.png)

Once in play mode, I recieve this further issues:

 ![image](https://global.discourse-cdn.com/vrchat/original/3X/2/2/220db9315ee2977ac783b5379d03895d85a5d81a.png)

At time of writing report, the animations appear to be working fine as I learned that deleting the blend tree and recreating it works as a temporary fix, before reverting to the issue demonstrated in the first image, with no clear occurrence as to what caused the change.

---

<div class="post-metadata">

### Author: ![Flimsy\_Fox](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/flimsy_fox/32/18038_2.png) [@Flimsy\_Fox](https://ask.vrchat.com/u/Flimsy_Fox)
#### Post date: [May 11, 2023, 11:54pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/17 "2023-05-11T23:54:29Z")

</div>

I had this same problem. It turned out that my DNS server was blocking [cdp.cloud.unity3d.com](http://cdp.cloud.unity3d.com). I just had to whitelist it to fix the issue.

---

<div class="post-metadata">

### Author: ![BowserUwU](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/bowseruwu/32/18066_2.png) [@BowserUwU](https://ask.vrchat.com/u/BowserUwU)
#### Post date: [May 14, 2023, 7:01am UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/18 "2023-05-14T07:01:31Z")

</div>

how do you white list it ? not sure how to go into my dns server settings

---

<div class="post-metadata">

### Author: ![Flimsy\_Fox](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/flimsy_fox/32/18038_2.png) [@Flimsy\_Fox](https://ask.vrchat.com/u/Flimsy_Fox)
#### Post date: [May 14, 2023, 5:35pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/19 "2023-05-14T17:35:00Z")

</div>

What DNS server do you have? If you don’t know the answer, you probably don’t have one.

---

<div class="post-metadata">

### Author: ![docteh](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/docteh/32/12171_2.png) [@docteh](https://ask.vrchat.com/u/docteh)
#### Post date: [May 14, 2023, 6:04pm UTC](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701/20 "2023-05-14T18:04:52Z")

</div>

Stuff done in the name of ad blocking and security are good candidates for investigation. Something Like a “pi hole” ad blocker might have this particular unity server blocked because analytics.

I appear to get a blank page instead of a browser error when I clicked the link. So good sign I’m not blocked from it.

[Next page](https://ask.vrchat.com/t/vrc-sdk-can-not-be-loaded-because-of-unity-mathematics/15701.md?page=2)
