The Documentation says to use the package manager but searching the package manager for Graphic (with preview packages turned on) doesn’t show anything. Installing the Scriptable Render Pipeline’s package “Core RP Library” doesn’t install it either.
I’d add it as a git dependency but I can’t designate a specific folder in the repo where the package lives, so would mean installing all of the packages in the repo.
Is there further documentation on how to install this package that I’m missing?
I’ve done that but now run into a few issues that I can’t seem to recreate.
When I install it at a package Unity complains that I now have two versions of Newtonsoft.Json in the project. It also sometimes just destroys all of my references and nothing can find anything else (i.e saying that the namespace “Unity.GameEngine” can’t be found).
When I did manage to get it running, some of the tests inside the actual package didn’t pass because they were throwing an exception that a file can’t be found. I think this might relate to an issue I was having with the test runner when some tests would fail Assert methods from other completely unrelated tests*, but I remember one of them saying it’s because it couldn’t load Newtonsoft.Json even though one was still in project (I had kept mine and deleted the one in the package).
I’m also still not sure what’s causing this as well. I think it’s got something to do with my loading scenes during the tests, but if I don’t put [UnityTest] at the start of every test (and never use [Test]) and make every test wait for one frame at the end it happens, meaning tests will fail citing assertions from other tests. It doesn’t happen when I run the tests individually though. This was happening before I tried to import the Graphics Testing Framework, but I think the [Test] instances are causing others of my tests to fail that weren’t previously (again with IOExceptions even though no IO takes place during the tests).
How do I resolve the conflict between my version of Newtonsoft and the packages?