OSGExp crashes in Max 9 when trying to use any helper object. The following patch seems to fix the problem. I tried the patch with Max 8 and it doesn't seem to break anything.
The documentation mentioned that calling MakeAutoParamBlocks() will internally call CreateParameterBlock2(), which all the helpers classes are calling explicitly in their constructors. I'm not sure why, but this unnecessary call was causing Max 9 to crash. The documentation actually mentioned that you should really be calling MakeAutoParamBlocks, and not CreateParameterBlock2. Here is the documentation page where I found this information:
Logged In: YES
user_id=1343317
Originator: NO
Any idea why the OSGHelperDesc.MakeAutoParamBlocks(this) line let's Max 9 crash?
Logged In: YES
user_id=760073
Originator: YES
The documentation mentioned that calling MakeAutoParamBlocks() will internally call CreateParameterBlock2(), which all the helpers classes are calling explicitly in their constructors. I'm not sure why, but this unnecessary call was causing Max 9 to crash. The documentation actually mentioned that you should really be calling MakeAutoParamBlocks, and not CreateParameterBlock2. Here is the documentation page where I found this information:
http://sparks.discreet.com/knowledgebase/sdkdocs_v8/prog/main/sdk_data_paramblocks2_creating.html