Zoo 6 crashes when selecting custom plugin product type

I’ve created (and signed) a Zoo 6 plugin for hosting licenses for a custom plugin on our office Zoo server.

As expected, the product type (sbpSof_Rh6) appears in Zoo’s “Product type” drop down list. However, as soon as this type is selected, Zoo crashes with the message below:

!ZooAdmin.Wpf no longer works. Windows can help to look for a solution. Look online or close the program.! See below for screenshot and error details.

Am I doing anything wrong? or is this a bug in Zoo 6? The exact same procedure worked for Rhino 5.

One thing I did note is that the Rhinocommon 6 templates for Visual studio from here:
https://marketplace.visualstudio.com/items?itemName=McNeel.RhinoCommontemplatesforv6
seem to create a class which inherits from
IZooPlugin
rather than
IZooPlugin3 as suggested on the revised Zoo instructions webpage
http://developer.rhino3d.com/guides/rhinocommon/creating-zoo-plugins/

However, inheriting from IZooplugin3 resulted in the same error.
In any case, it may be worth chaning the VS templates if this is indeed unintentional.

Many thanks,

Daniel

Details:

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: ZooAdmin.Wpf.exe
Problemsignatur 02: 6.2.18046.13391
Problemsignatur 03: 5a861cbb
Problemsignatur 04: System
Problemsignatur 05: 4.0.30319.36411
Problemsignatur 06: 598a4d8e
Problemsignatur 07: 8d2
Problemsignatur 08: 22
Problemsignatur 09: System.ArgumentException
Betriebsystemversion: 6.2.9200.2.0.0.272.7
Gebietsschema-ID: 1031
Zusatzinformation 1: 5861
Zusatzinformation 2: 5861822e1919d7c014bbb064c64908b2
Zusatzinformation 3: dee3
Zusatzinformation 4: dee364078cacf21977cdd5ba40342305

Lesen Sie unsere Datenschutzbestimmungen online:
http://go.microsoft.com/fwlink/?linkid=190175

Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline:
C:\Windows\system32\de-DE\erofflps.txt

We got it working now, inheriting from iZooPlugin3. Not sure still what caused the issue though. The last change I made was to match the izooplugin3::textMask field to match exactly the product key entered. But as the zoo plugin doesn’t yet know which product key will be supplied I guess this should not cause a fatal crash?

If inheriting from iZooPlugin causes the issue, changing the V6 visual studio templates may be a good idea!

Thanks

Hi @dgebreiter,

Thanks for the report and our apologies for the inconvenience. I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-44458

– Dale

Hi @dgebreiter , @dale,

This crash could be the same i got here: Zoo - ProductKeyTextMask

Regards,