Crash in R17 when Shader is added

On 01/11/2015 at 10:18, xxxxxxxx wrote:

Hi there,

you can find the shader plugin on GitHub here. If you open the shader list in a material and add
a "PyShader" to a material channel, Cinema 4D crashes (instant-exit on Windows). This happens only
in R17, not in R16 or R15.

Any idea what's the reason behind it? TIA

On 01/11/2015 at 11:37, xxxxxxxx wrote:

Update: Probably related to

On 02/11/2015 at 03:42, xxxxxxxx wrote:

Hi Niklas,

can you do us a favor? We'd like to be sure, that it's exactly the same problem (and not another one that may need further investigation). Could you do a test without your CopyTo() to see, if the crash is fixed?

On 02/11/2015 at 23:53, xxxxxxxx wrote:

Hi Andreas,

It works when I comment out the CopyTo() method.

On 03/11/2015 at 00:08, xxxxxxxx wrote:

Thanks for testing, Niklas. That's good to know.