Giter Club home page Giter Club logo

Comments (4)

gw1108 avatar gw1108 commented on June 23, 2024

I've investigated further and it seems one object in particular is causing eventual problems. One of my prefabs is an empty gameObject with Pb_Meta Data Component attached. It has 3 child objects. 2 of the child objects have Mesh Filters and Mesh Renderers. The third object has a box collider and some C# monobehaviours I wrote.

I found this out by saving a level in Giles that only had this prefab. After an hour Giles was no longer able to open the .json level and gave the above crash. I'll be creating even simpler prefabs to see if I can recreate it again.

from giles.

karl- avatar karl- commented on June 23, 2024

Possibly related (probably):

http://stackoverflow.com/questions/34396039/current-error-context-error-is-different-to-requested-error-exception-in-json

from giles.

gw1108 avatar gw1108 commented on June 23, 2024

Here are two example files. Both were created with just an empty Gameobject with a child object that had the Unity Mesh Filter(cube) and Mesh Renderer. Default material. The difference between the two files are the Version=2.0.6262.37719. If you merge the fixed Version= into the Broken Version= it'll fix the Json error. Not sure what this Version thing is or how it breaks anything.

ParentChildMeshFilter_broken.json.txt
ParentChildMeshFilter_working.json.txt

from giles.

gw1108 avatar gw1108 commented on June 23, 2024

Figured it out. Turns out I was using a c# file that incremented the assembly build version a lot. Taken from here: http://xeophin.net/en/blog/2014/05/09/simple-version-numbering-unity3d

For some reason the JSON reader doesn't like it when you do that so I commented the file out and now no more of this error.

from giles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.