The SCML-Plugin is in the newest version of construct 3 r121 broken:
Error report information
Type: unhandled exception
File: blob:https://editor.construct.net/25c49792-0344-431f-83a2-606d2c97fc1e, line 41, col 14
Message: Uncaught TypeError: Cannot read property 'SetAlphaBlend' of null
Stack: TypeError: Cannot read property 'SetAlphaBlend' of null at SpriterInstance.Draw (blob:https://editor.construct.net/25c49792-0344-431f-83a2-606d2c97fc1e:41:14) at ǃu.ǃuIZ.ǃCB (https://editor.construct.net/r121/main.js:81:6810) at u.ǃCB (https://editor.construct.net/r121/main.js:81:224528) at o.ǃCB (https://editor.construct.net/r121/main.js:81:265066) at u.ǃCB (https://editor.construct.net/r121/main.js:81:249254) at window.ǃPa.ǃoM (https://editor.construct.net/r121/components/editors/layoutView/layoutView.js:1:7048) at ǃoC (https://editor.construct.net/r121/components/editors/layoutView/layoutView.js:1:1803)
Construct 3 version: r121
URL: editor.construct.net/r121
Date: Sun Oct 14 2018 17:21:20 GMT+0200 (Mitteleuropäische Sommerzeit)
Uptime: 100 s
Platform information
Browser: NW.js
Browser version: 0.33.3
Browser engine: Chromium
Browser architecture: 64-bit
Context: nwjs
Operating system: Windows
Operating system version: 10
Operating system architecture: 64-bit
Device type: desktop
Device pixel ratio: 1
Logical CPU cores: 8
Approx. device memory: 8 GB
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (@8920e690dd011895672947112477d10d5c8afb09) NWjs/0.33.3 (like Chrome/69.0.3497.100)
C3 release: r121 (beta)
Language setting: en-US
WebGL information
Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)
Numeric version: 2
Supports NPOT textures: yes
Supports GPU profiling: no
Vendor: Google Inc.
Renderer: ANGLE (NVIDIA GeForce GTX 1060 6GB Direct3D11 vs_5_0 ps_5_0)
Major performance caveat: no
Maximum texture size: 16384
Point size range: 1 to 1024
Extensions: EXT_color_buffer_float, EXT_texture_filter_anisotropic, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context
You can't place the scml plugin to layout, without crash..
EDIT: When i remove this js-code from the plugin, it works for me:
iRenderer.SetAlphaBlend();
iRenderer.SetColorFillMode();
if (this.HadTextureError())
iRenderer.SetColorRgba(0.25, 0, 0, 0.25);
else
iRenderer.SetColorRgba(0, 0, 0.1, 0.1);
iRenderer.Quad(this._inst.GetQuad());