Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
0
Question by afterburn · Jan 19, 2017 at 10:35 PM · versionupdatingdistributionpackaging

Distributing and Updating our Unity MMO causes 'Failed to load PlayerSettings' error.

Hello, I've set up all the infrastructure to be able to push new versions of our Unity MMO to whoever has installed our custom built launcher or game updater (whatever you want to call it). It checks for the local version of our game and compares that with the 'server' version and based off of that info it decides whether or not the game should update.

The way we want this to work is that whenever we add stuff to our game, the launcher will download only new files. This is very important because we don't want people to have to redownload the entire game whenever make a change. Especially once we get into GB size.

The launcher works fine - it retrieves all the files that are given by the Unity Editor when you build your game and neatly orders the files back into the directories they should be in. However, when you try to start the game you get the following error:

Failed to initialize player - Failed to load PlayerSettings (internal index #0)

 Failed to load PlayerSettings (internal index #0).
 Most likely data file is corrupted, or built with mismatching
 editor and platform support versions.

I've confirmed the problem doesn't lie with our launcher by manually drag-and-dropping files to the server and retrieving them the same way. The protocol we use for this is FTP.

The only logical explanation for this error to occur that we can come up with is that transferring the Unity game files using FTP breaks the Unity game somehow.

We've even attempted to move files one-by-one to maybe find out what files are causing the issue and there seem to be some files that are responsible for the error whilst others are not. So far we know the globalgamemanagers file in the GameName_Data folder is one of the culprits.

The weird thing is that if we were to .zip/.rar our game and then upload it to our server, then let our launcher download the .zip/.rar and extract it does not cause any errors when running the game. This is however not the way to approach this, because we cannot update on the individual file level using this method.

Hopefully someone is able to help us out.

f1b9467829c78230be968fa12772de2f.png (9.3 kB)
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

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Unity Package Manager Error 0 Answers

Prefabs not finding MonoBehaviours moved into a plugin DLL 1 Answer

Can I put my game on a Playstation 4 without a licence? 3 Answers

When Unity3D finally supports WebGL? 2 Answers

Identifying Asset Server version 2 Answers


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