Skip to content

Resurrection of the discontinued Unity Serializer by Mike Talbot from WhyDoIDoIt.com (Unity 5)

License

Notifications You must be signed in to change notification settings

brainz80/unityserializer-ng

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Introduction# ##What is unityserializer-ng?## This is not the original unityserializer-ng. This is a fork by yours truly. As TheSniperFan states in his fork, his version is built specificly for Unity 5 - and actualy breaks when trying to run it on an older version. Therefore I decided to fork my own version - which should hopefully (not tested though) still work on Unity 5 beta, but at least now should work on Unity 4 again.

The rest of the readme is a copy of TheSniperFans ...

##What's wrong with the original Unity Serializer?## It has been discontinued some time ago. While Unity has been updated a lot, the US (Unity Serializer) hasn't been since 2013. Bug fixes, stability improvements and support for completely new features did not happen. The way US has been written, ensured that it will be flexible enough to not fully break on each update. As a result, it kept working with Unity 4. However, the Unity 5 update was the straw that finally broke the camel's neck and made US stop working. unityserializer-ng is a continuation of Mike's excellent project. I decided to fork and change its name, in order to prevent confusion. This fork will not be backwards compatible to the old Unity Serializer. It's made for Unity 5, which will enable me to remove old legacy bloat whenever I find it. The old Unity Serializer still works for Unity 4.6 and is available for download on the Unity Asset Store.

##What's the goal of this fork?## As stated earlier, the main goal of this fork is to bring the old Unity Serializer to Unity 5. Furthermore, I'll improve on it. I already fixed quite a few nasty bugs and made sure that this asset works with the new components, that were introduced in the Unity 5 pre-order beta. On top of that, I'll extend already existing functionality. I want to serialize as much as possible. The original US reduced support of certain components down to the lowest common denominator (see Renderers for a good example). I will split them up, to ensure that the unique properties of similar components can all be saved.

##Do you support X?## I support Unity 5. I do not support Unity 4 and older, because the old US is still available. If you want the new features and bug fixes of this for in the old US, you need to backport them yourself. While the original developer supported iOS and Android, I do not. This does not mean that this asset doesn't work with mobile devices. It just means that I'm no mobile developer and as such have no way of testing it. The only thing I can guarantee, is that I won't break compatability on purpose. Besites that I removed the iTweenSerializer and PlayMaker addons. Not using those assets myself, I cannot possibly guarantee stability.

#What's new?# ##Fixes##

  • "WaitForSeconds" is now correctly being de-/serialized
  • Rigidbodies can be deserialized again in Unity 5
  • Room Manager no longer crashes the Wizard UI when no Room Manager exists
  • "Bounds" are no longer excluded from serialization

##New features##

  • Works with Unity 5
  • All new material serializer that's far more stable and supports custom shaders and multiple materials
  • Extended support for
    • Camera
    • Line-, Trail- and SkinnedMeshRenderer and Renderer (ParticleRenderer was removed due to being legacy)
    • Box-, Capsule-, Mesh-, Wheel- and TerrainColliders
    • NavMeshAgent
    • AudioFilters
    • Sprites
    • New Unity GUI components (RectTransform, etc.)

#Installation# At the moment this asset is not available in the Unity Asset Store, due to Unity 5 still being beta and therefore subject to potentially big changes. The plan is to release it in the asset store, once Unity 5 stable is released. To install unityserializer-ng, just clone this repository and copy it into your project's directory.

#How to use?# Tutorials will be written and released in the Unify Community Wiki. The old tutorials from are available on the website of the original Unity Serializer and still apply.

About

Resurrection of the discontinued Unity Serializer by Mike Talbot from WhyDoIDoIt.com (Unity 5)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.5%
  • JavaScript 3.5%