Coder Social home page Coder Social logo

`PlayModeStateChange' could not be found. Are you missing a using directive or an assembly reference? about node_editor_framework HOT 3 CLOSED

Scannell24 avatar Scannell24 commented on June 12, 2024
`PlayModeStateChange' could not be found. Are you missing a using directive or an assembly reference?

from node_editor_framework.

Comments (3)

Seneral avatar Seneral commented on June 12, 2024

This is a unity version issue, the playmodeStateChanged callback has been renamed from 2017.2 onward. To make it compatible between versions it should look like this.

However it seems that I forgot this version checking in UndoPro. Will fix tomorrow, have to install an older unity version again first. If you want a quick fix, just implement a similar construct as in the file linked above (with a wrapper function around the older function signature) in this UndoPro script.

Reminds me I should use that new functionality of the new function signature to replace the mess in EditorLoadingControl, at least in newer unity versions. I'm suprised someone still starts projects in Unity 5. Any reason for this, out of curiosity?
There might be a lot of other errors like this, I honestly am not entirely sure, since I did not pay too much attention to keeping more than a few versions of backwards compability.

from node_editor_framework.

Seneral avatar Seneral commented on June 12, 2024

Fixed in UndoPro and verified that it works.
NEF also needs slight fixing, will do that now.

  • AllAroundNode needs a check, due to new AssemblyDefinitionFiles
  • background.png.meta is incompatible, recreated in 5.x to fix it
  • The DefaultStyle GUISkin in Resources needed to be regenerated (just delete it), need to verify that version works in newer versions
    Will test and push soon

from node_editor_framework.

Seneral avatar Seneral commented on June 12, 2024

And done, see following commits:
NEF: 19840d2
UndoPro: 94c375e

In addition to that, if you need to go even farther back (pre 5.5), you might need to convert the serialization version of each relevant asset manually (only stuff like save files, etc).
I made a script for that a while back, check it out here.

from node_editor_framework.

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.