1

I get following error in Unity when creating a new project

NullReferenceException: Object reference not set to an instance of an object
Unity.PlasticSCM.Editor.ProjectDownloader.ParseArguments.GetOrganizationNameFromData (System.String data) (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/ParseArguments.cs:42)
Unity.PlasticSCM.Editor.ProjectDownloader.ParseArguments.CloudOrganization (System.Collections.Generic.Dictionary`2[TKey,TValue] args) (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/ParseArguments.cs:24)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.DownloadRepository (System.String unityAccessToken, System.String[] commandLineArgs) (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:63)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.DownloadRepository (System.String unityAccessToken) (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:51)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.Execute (System.String unityAccessToken) (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:43)
Unity.PlasticSCM.Editor.ProjectDownloader.CloudProjectDownloader.RunOnceWhenAccessTokenIsInitialized () (at Library/PackageCache/[email protected]/Editor/PlasticSCM/CloudProjectDownloader/CloudProjectDownloader.cs:32)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <e3d2e3f6a525465bbf8c67432a3cb6ef>:0)
1

3 Answers 3

1

Maybe it's because of PlasticSCM(Version Control package).

Try to uninstall or update it in Package Manager.

And also can uncheck the Version Control toggle when you create a project.

Hope it can help you.

Sign up to request clarification or add additional context in comments.

Comments

1

This error is probably coming from the Version Control package make sure its updated

  • To update the version control package in your unity project

Window > Package Manager > (In the top left corner make sure you select Unity Registry from the packages drop down menu ) > Search for Version Control and update it

If this didn't work try deleting the version control package then install it again

Comments

0

That happened to me some time ago. It's a "false" error. The problem is the login session token expired. Don't worry, refreshing it is easy.

  1. Close Unity Editor, keep Unity Hub open.
  2. Sign out of Unity Hub (left-top icon)
  3. Sign In Unity Hub
  4. Start Unity Editor

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.