MockHMD XR Plugin installed and dlls went missing

Avatar
  • updated
  • Unity's Fault

Dear Freya, 

I have updated Shapes from v2.3.1 to 3.2.3. Before that, everything was working great.

After the upgrade, *everything broke*. No reference of any script was found anymore, I had to enter safe mode and remove Shapes folder. After that I tried again and I had infinite reference loops, had to delete again the folder. I tried once more, and yet again a bunch of missing dlls. I don't know if it's related, but during the upgrade I was asked to install some dependencies, I have accepted and now I have the warning that "preview packages" are in my project, specifically "MockHMD XR" Version 1.3.0-preview. When I remove both this and Shapes, the project starts compiling again.

Any idea about why this happens?
I had to disable all my Shapes gameobjects & components, as I am not able to import the asset anymore.

more info:

An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
Assets/Shapes/Shaders/Generated Shaders/Resources/Polyline 2D Opaque.shader
Assets/Shapes/Shaders/Generated Materials/Rect Darken [CORNER_RADIUS][BORDERED].mat
Assets/Shapes/Shaders/Generated Materials/Quad Transparent.mat
Assets/Shapes/Shaders/Generated Shaders/Resources/Disc Multiplicative.shader
---- etc-

Reporting a bug? please specify Unity version:
2020.3.1f1
Reporting a bug? please specify Shapes version:
3.2.3
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is because of bugs with Unity's asset store package uploader. The only package Shapes requires is Text Mesh Pro, the rest you can ignore/uninstall

in addition, you have to uninstall unity's "package manager UI" as it has errors in later versions of Unity

duplicate of: https://shapes.userecho.com/en/communities/1/topics/243-package-error-cant-play-build-and-compile

Avatar
Freya Holmér creator

try uninstalling Shapes, and any packages you know you don't need in your project. Then make sure you have text mesh pro installed, then close Unity, delete the library folder (this will trigger a reimport of all assets, which might take a while if you have a large project), then reopen Unity, reinstall Shapes, and *don't* allow it to install package manager dependencies

Avatar
jacopo

Thank you very much for your reply.

I am actually unable to find the package you mentioned: "package manager UI" is not in Unity registry / In project / built in. I've also enabled "show dependencies" as well as enabled Preview Packages for this occasion, and I couldn't find it. Any idea how I could solve this issue? I would really like to use Shapes

Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is because of bugs with Unity's asset store package uploader. The only package Shapes requires is Text Mesh Pro, the rest you can ignore/uninstall

in addition, you have to uninstall unity's "package manager UI" as it has errors in later versions of Unity

duplicate of: https://shapes.userecho.com/en/communities/1/topics/243-package-error-cant-play-build-and-compile