Installation in 2019.4 (Build-In) / Can't Remove CanvasRenderer

Avatar
  • Unity's Fault

Installing Shapes in a clean project results in errors if you install the dependencies.

If you ignore the dependencies, it works, but raises errors while playing the Sample Scenes.

"Can't remove CanvasRenderer because TextMeshPro (Script), TextMeshPro (Script), TextMeshPro (Script) depends on it"

I looked for the " Package Manager UI package" (see bug report in 2019.3), but didn't find it.
  

Reporting a bug? please specify Unity version:
2019.4.8f1
Reporting a bug? please specify Shapes version:
2.3.0
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Unity's Fault

this is a really annoying bug with Unity's package dependency system :/

1. make sure you install all dependencies, Shapes requires text mesh pro
2. open the package manager, and remove "Package Manager UI"

it should work after this!

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

this is a really annoying bug with Unity's package dependency system :/

1. make sure you install all dependencies, Shapes requires text mesh pro
2. open the package manager, and remove "Package Manager UI"

it should work after this!

Avatar
Kristina Waldt

Deleting the Package Manager UI removed the import errors. :) (I didn't find it before because it was imported as a dependency, ops.) [Like said in the other thread, upgrading works too.]
However, this didn't remove the "Can't remove CanvasRenderer" errors. (After all, TextMeshPro was installed anyway. (TMPro 2.1.1 is installed.)

Is there anything else I missed?

(The errors don't stop the game or anything. They are just annoying.)

Avatar
Freya Holmér creator

did you import the TMP essentials?

although it does look like you did since that text is rendering. do they go away with a restart of Unity? 

(for what it's worth, those errors should be harmless)

Avatar
Kristina Waldt
Yes. I even recreated the project to make sure that the Essentials were imported before Shapes.
And yeah, they are harmless: they don't stop the game or anything.

I wonder if it's an editor issue. If I restart the project and play the FPS scene, thee aren't any errors the first time (maybe two times). After that, it throws errors every time. Maybe there are cleanup issues? (Unity is sometimes strange with OnApplicationQuit and OnDisable and things like that.)
Avatar
Freya Holmér creator

I've had the issue a few times before, but never consistently, so it's hard to reproduce, but since it's harmless I've ignored it for no. and yeah, very likely cleanup and/or execution order issues

Avatar
Kristina Waldt

If you want, I can send you the project. There's nothing in it but Shapes, so it's reasonably small, and the error happens very consistently. (Though I don't know if it will happen on your machine if it was hard to reproduce.)
In the meantime, I'll install the newest 2019 version - maybe it's a Unity related bug that they fixed.

Avatar
Freya Holmér creator

actually testing it out in 2019.3 I got it reproducing here

Avatar
Kristina Waldt

¯\_(ツ)_/¯

I once had a student who insisted that she didn't make human errors (like deleting braces), but that there were tiny goblins in her computer who stole the symbols when she wasn't looking.

On days like these, when Unity makes stuff just happen like that, I wonder if I was wrong to judge her.

Avatar
Freya Holmér creator

oddly enough it doesn't happen in 2018.4, which is what I mostly target since it's my minimum

Avatar
Kristina Waldt

Maybe it's a "feature".

(Perhaps there are newer versions of something in it. The Package Manager UI also upgraded itself by... deleting itself.)