-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load type error when running in Max 2016 #1
Comments
Sorted!!
Creating this class and then attaching it to the BinaryFormatter() like this:
fixed the issue and now the NLM3 window opens and closes and retains information. As I said, I'm still learning C# so it's possible I've missed something in VS2012 settings and this was unnecessary!! |Simon |
Hi Simon, Are you able/willing to publish updated DLLs for Max 2016? I would love to use 3 there, and also with your improvements. Thanks! |
Hi Eric, Since we depend on NLM2 in our pipeline but found issues using it in Max2016, it made sense get NLM3 working. I have Tim's current beta 5.0 compiled for Max2016 - it just needed to be done for .NET 4.5. I'm working on a beta 6.0 version which can read / write NLM2 data (for obvious legacy reasons), as well as adding some other functionality users expect from NLM2. We've already discussed the possibility here, of adding a branch to the NLM3 repository to make this available but of course this is Tim's baby so I need to contact him ( or if you get this Tim, could you let me know what you think?). I don't have a problem with uploading the .dll files if that's ok with the author. All the best |
Hi Simon and Eric, |
Hey Simon. Thanks for finding and fixing the problem, great work!
I would love for you to upload any changes you make. Sounds like others would be very happy to receive the updates, too :) Cheers |
Simon, any updates on this? I'm using 3ds Max 2016 more and more these days, and would love to use NLM3 there. |
Hi Eric, There shouldn't be any difficulty, but since I've been coding this on work time, I'm just waiting for the OK from work to upload it. |Simon |
Tim has given his OK. Maybe you're waiting for your workplace to give you the OK? |
Bump |
@SimonWEC Any updates on this? I don't desperately need it, but it sounds like it might be a nice step up from the scripted version. |
Hi Tim,
Thanks for making NLM3 available.
I am working with your code to allow NLM3 to read NLM2 data. Currently I have it compiling and running on Max2016; the NLM3 window opens the first time but after closing and attempting to open again I get the following error:
Runtime error: dotNet runtime exception: Unable to load type System.Collections.Generic.List'1[[NestedLayerManager.IO.Data.FolderData, NestedLayerManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] required for deserialization.
I think I have almost fixed it, the solution appears to lie in providing a binding class for the BinaryFormatter in:
NestedLayerManager.MaxInteractivity.MaxIO.GetAppData()
- this has caught the other errors forLayerData
andNlmData
so It looks like I just have to wrapFolderData
in a list to fix the error above. Still puzzled as to why it can't find yourIO.Data
classes when they're sat in the same assembly that's using them. Of course I am learning C# as I go so it's possible it's me!All the best
|Simon
Ps
I'm working at Burrows, hence the effort to get NLM3 onto Max2016 since we leverage NLM so much.
The text was updated successfully, but these errors were encountered: