- Home /
TexturePlatformSettingsHelper does not contain a definition for GetBuildTargetName XR Plugin Management error?
Hello, I've had some issues after updating some packages. Specifically my project starts in safe mode with the following error
In the code it looks like this
After searching for a while, I haven't found anyone having this specific problem, only similiar ones. The main reoccuring solution was to downgrade the XR Plugin Management to 3.2.15 or 16, however, the version of unity I'm using does not allow me to change or downgrade the package. I'm unsure of what to do here, would be wonderful to have some help. The version of unity I am using is 2021.2.5 and the currently installed XR PM is 4.2.0
Does anyone else have a similiar issue or a solution for this?
Answer by ArminRB · Dec 30, 2021 at 08:22 PM
I got a solution for this, not practical but removing the package 2D PSD Importer resolves this. I'm not an expert but I'm guessing that package has an error, I'm sure unity is working on it :)
Answer by serph1190 · Jan 10 at 08:42 PM
@ArminRB I ran into this same issue. For me the cause was that I was using the most up to date version of the 2D PSD Importer BUT I was using an LTS version of Unity from 2020.
So your issue is likely the same as mine (the version of Unity you are using is too old to support it): use a newer version of Unity if you need the 2D PSD Importer Package
Answer by MikeSemicolonD · Feb 03 at 02:08 AM
I had to downgrade two packages to fix this issue
2D Animation to 5.0.4
2D SpriteShape to 5.1.1
Then I remembered that Unity has a tendency to update some packages but not others depending on your version of Unity. I experienced this when trying to upgrade the Input System to 1.3.0, only to discover that the package manager didn't indicate that there was an upgrade.
Setting "com.unity.2d.psdimporter" in manifest.json to "4.1.3" fixed this (without downgrading)
Answer by Misut · Mar 07 at 09:08 AM
I had the same issue and got it resolved updating 2D PSD Importer to 4.2.0 version.
Your answer
Follow this Question
Related Questions
How to add and remove installed packages more easily? E.g. Google Admob. Package control in Unity? 0 Answers
Online Documentation for Custom Packages 0 Answers
"Visual Effect Graph" named package does not appear on the scene. 0 Answers
Error on package.json: Unexpected token " at 1:1 2 Answers
How do we make UPM show that there is a newer package for a package installed via git URL? 0 Answers