Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 414 forks source link

fixBug: Can't Load LastSession.asset using UnityEngine.Resources.Load… #64

Closed unagiHuman closed 8 years ago

unagiHuman commented 8 years ago

Fix the following bug Bug occurrence conditions: Lunch Node Editor in Appliation.isPlaying.

Seneral commented 8 years ago

Hey unagi! I think the approach you're going for, putting last asset inside the resource folder, doesn't take the problem by it's root. I'll myself take a look at this but I think it's in the funcion you're actually mentioning in the header. For the record, this will cause duplicate classes, I think you also need to remove the old file. Following your approach, you'd just need to change the path to save lastSession in;)

unagiHuman commented 8 years ago

Oops. It the file is duplicated. It was okay in my local projects, but it does not accustomed to so much Git, was the wrong committed.

You'd just need to change the path to save lastSession in;)

I think this is the street. Those fixes try again PullRequest.

Seneral commented 8 years ago

Oh sorry somehow missed this:( Thanks!