Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Elky · May 03, 2014 at 02:39 PM · photonplugintool

How do I remove a plugin from a Unity project?

I inherited a Unity project that uses a lot of extraneous tools, and they are getting in the way of me doing my part. In particular, this project has Photon Unity Networking attached to it, but it's not necessary for the animation I'm creating.

I removed all files related to Photon Unity Networking from the asset browser, but I now getting the following errors and can't play my scene. Keep in mind that the files in which the errors appear are actually no longer existent in the project:

 Instance of ServerSettings couldn't be created because there is no script with that name.
 UnityEngine.ScriptableObject:CreateInstance(String)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:812)
 PhotonEditor:EditorUpdate() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:316)
 UnityEditor.DockArea:OnGUI()
 
 Photon Unity Networking (PUN) is missing the 'ServerSettings' script. Re-import PUN to fix this.
 UnityEngine.Debug:LogError(Object)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:815)
 PhotonEditor:EditorUpdate() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:316)
 UnityEditor.DockArea:OnGUI()
 
 Instance of ServerSettings couldn't be created because there is no script with that name.
 UnityEngine.ScriptableObject:CreateInstance(String)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:812)
 PhotonEditor:PlaymodeStateChanged() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.Toolbar:OnGUI()
 
 Photon Unity Networking (PUN) is missing the 'ServerSettings' script. Re-import PUN to fix this.
 UnityEngine.Debug:LogError(Object)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:815)
 PhotonEditor:PlaymodeStateChanged() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.Toolbar:OnGUI()
 
 NullReferenceException: Object reference not set to an instance of an object
 PhotonEditor.PlaymodeStateChanged () (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.EditorApplication.Internal_PlaymodeStateChanged () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/EditorApplication.cs:286)
 UnityEditor.Toolbar:OnGUI()
 
 Instance of ServerSettings couldn't be created because there is no script with that name.
 UnityEngine.ScriptableObject:CreateInstance(String)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:812)
 PhotonEditor:EditorUpdate() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:316)
 UnityEditor.DockArea:OnGUI()
 
 Photon Unity Networking (PUN) is missing the 'ServerSettings' script. Re-import PUN to fix this.
 UnityEngine.Debug:LogError(Object)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:815)
 PhotonEditor:EditorUpdate() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:316)
 UnityEditor.DockArea:OnGUI()
 
 Instance of ServerSettings couldn't be created because there is no script with that name.
 UnityEngine.ScriptableObject:CreateInstance(String)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:812)
 PhotonEditor:PlaymodeStateChanged() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.Toolbar:OnGUI()
 
 Photon Unity Networking (PUN) is missing the 'ServerSettings' script. Re-import PUN to fix this.
 UnityEngine.Debug:LogError(Object)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:815)
 PhotonEditor:PlaymodeStateChanged() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.Toolbar:OnGUI()
 
 NullReferenceException: Object reference not set to an instance of an object
 PhotonEditor.PlaymodeStateChanged () (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:352)
 UnityEditor.EditorApplication.Internal_PlaymodeStateChanged () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/EditorApplication.cs:286)
 UnityEditor.Toolbar:OnGUI()
 
 Instance of ServerSettings couldn't be created because there is no script with that name.
 UnityEngine.ScriptableObject:CreateInstance(String)
 PhotonEditor:get_Current() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:812)
 PhotonEditor:EditorUpdate() (at Assets/Game/Tools/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs:316)
 UnityEditor.DockArea:OnGUI()
 
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tobiass · May 09, 2014 at 03:47 PM

PUN should be in the folder "Photon Unity Networking". If not, you can find it's pieces in Assets*\Editor\PhotonNetwork*. and Assets*\Plugins\PhotonNetwork*..

Create a new, empty scene. Delete the PhotonNetwork folder first from Editor-, then from Plugins-Folder.

Delete Assets\Plugins*photon*.* (including subfolders).

You might also find a "Demos" folder with a "DemoBoxes" subfolder. Delete everything in that Demos folder.

Delete any remaining PhotonServerSetting.asset file.

Mark this as answer. Done. ;)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image fahimalavi · Jul 26, 2015 at 03:55 PM 1
Share

Is process same for facebook sdk unload ?

avatar image tanoshimi · Jul 26, 2015 at 04:39 PM 1
Share

I doubt it. It seems pretty unlikely that Facebook SD$$anonymous$$ would install in a folder called "Photon Unity Networking" or make use of a PhotonServerSetting.asset file, no?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Plugins for Photon? 1 Answer

Photon plugin to Photon Cloud through firewalls 1 Answer

Google Play Game Services Plugin "Failed to re-package resources" 2 Answers

Unity + AR = .exe 1 Answer

Linker error when creating a static iOS library that depends on another static library. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges