New Script Components Incompatibility Issues in User Object

It looks like when I make a user object using the new script component, it only works in the same version.
In a different version, users are running into one of these error:

  1. Rhino version older than mine:
    The User Object could not be created as the base type is missing.
    
  2. Rhino version higher than mine:
    User Object failed to deserialize.
    

When I open a file with a different version of the script component, it’s automatically updated to the current version as I expected. But, this doesn’t seem to happen for user objects.
@eirannejad

1 Like

Hi Mahdiary. How old is the user object? Would you mind sharing one with me that throws error in 8.3 RC?

1 Like

Hi Ehsan.
I only have a user object I created six months ago with the Rhino WIP. Unfortunately, I’ve deleted the other files that were not working. I’m also attaching the file I used to make this user object. It’s odd, the file opens without issues, but the user object itself isn’t functioning properly. It appears on the Grasshopper canvas toolbar, but when I use it in a document, it triggers an error.

Actually, I’m not completely certain if this problem is due to version differences. Sometimes, I encounter the same error even with user objects created using the same Rhino version. Nonetheless, I’m trying to replicate this issue. If I can, I’ll send over the file for a closer look.

Deconstruct FaceMesh.gh (11.9 KB)
Deconstruct FaceMesh.ghuser (4.7 KB)

Ok great catch and thanks for the .ghuser example. Solved and will be in the next 8.3 RC

RH-79338 Use Object does not load when base component updates legacy parameters to new ones

1 Like

@Mahdiyar Did you happen to get the today’s 8.3 RC build? I see you marked my previous message as Solution so I’m assuming the fix is confirmed?

I have just downloaded and tested the latest RC build, and there are many improvements. Thanks.
I can confirm that the user object from the previous service release works with this one. However, the older user object that I sent you earlier is still not working; it continues to trigger the same error as before.

1 Like