Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
This question was closed Jan 06, 2016 at 02:53 PM by ryo0ka for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by ryo0ka · Jan 05, 2016 at 08:14 AM · serializationversiongit5.3version-control

Unity 5.3 Serialization Depth Limit Error and Downgrading Project Version on Git

Hello forum, happy new year! Our project is off to a great start and we sincerely hope for all of our health in 2016.

In short, we've been failing downgrading a project's Unity version from 5.3 to 5.2, even though we are rolling back the project's Git repository's commits with erasing all possible local preferences or cashes of Unity.

My team has been working on a WebGL Unity project, whose Unity version had been 5.2. We are developing it on a Git repository in Bitbucket. Recently one member of us upgraded the project's Unity version to 5.3 and merged it to the main branch of the Git repository. It turned out that the project can't be exported to WebGL in the new version due to the "Serialization Depth Limit" error, which is known to have appeared from Unity version 5.3, and that the Unity dev team has stated that they are not going to turn it back. The fundamental problem here is the deep structure in our project that's causing the error, but we would rather like to firstly try downgrading the project's Unity version to 5.2 where the error doesn't occur.

We first figured out that Unity does not support downgrading a project's Unity version on Editor or by editing text files. So we decided to roll back the project's Git repository's head to the last commit where the Unity version is still 5.2. However, even though we rolled the head back using git reset --hard and checkout commands and confirmed the project's Unity version to be back to 5.2 on Editor and in the ProjectSettings file, the "Serialization Depth Limit" error still occurred. We uninstalled Unity, deleted its local caches and preference files, deleted the project, rebooted the computer, re-installed Unity 5.2.1f, cloned the project's Git repository and rolled back the head again, but the Serialization error still occurred there. We also tried exporting/importing the project making a new project, but it did not work either.

One possibility is that our Git repository's .gitignore has excluded some important files to handle the project's Unity version; here is the content of our .gitignore:

 /[Ll]ibrary/
 /[Tt]emp/
 /[Oo]bj/
 /[Bb]uild/
 /Webplayer/
 /.vs/

 # Autogenerated VS/MD solution and project files
 *.csproj
 *.unityproj
 *.sln
 *.suo
 *.tmp
 *.user
 *.userprefs
 *.pidb
 *.booproj

 # Unity3D generated meta files
 *.pidb.meta

 # Unity3D Generated File On Crash Reports
 sysinfo.txt

 *.svd
 *.userprefs

Or if Git does not support resetting binary files and the Unity version is stored in any binary files, it would be crucial as well.

Anyways, we are seeking for a solution to this problem: downgrading a project's Unity version (5.3 to 5.2) with possible loss of data described that probably is caused by Git or ignored files. We would appreciate any hints, any solutions to any related problems or links to them, or any related experience of yours. Of course we would appreciate if you're certain that we would have to give up on this matter as well.

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

  • Sort: 

Follow this Question

Answers Answers and Comments

40 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 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

problems with merge conflicts for unity projects 1 Answer

update to 5.3 and now all gameobjects were erased from scene, why? 4 Answers

How to use version control with Unity 0 Answers

I've updated Unity 5.2.1f1 to 5.3.1f1 and now i can't make new projects 1 Answer

Unity smart merge + GIT on MAC OSX 0 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