<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Script Processor: &quot;not a function&quot; error is intermittent&#x2F;non-deterministic (4.1.0)]]></title><description><![CDATA[<p dir="auto">I am using HISE 4.1.0, Windows standalone. Please see below my case:</p>
<p dir="auto">getGlobalVariable turned out to need array syntax (getGlobalVariable[i]), not function-call syntax (getGlobalVariable(i)) — that part makes sense once found.</p>
<p dir="auto">The real issue: the compiler is intermittent. The exact same, unmodified line sometimes compiles fine and sometimes throws "This expression is not a function!" — I've seen this happen even to setGlobalVariable(...) calls (which are correctly function-style). Recompiling with no code change sometimes clears the error, sometimes doesn't. It's happened in a fresh, minimal project too (not just a long-edited one), so it doesn't seem to be project corruption.</p>
<p dir="auto">Minimal repro that has failed intermittently for me:</p>
<h2>function onNoteOn()<br />
{<br />
setGlobalVariable(2, 1);<br />
setGlobalVariable(1, 0);<br />
}</h2>
<p dir="auto">in a Script Processor inside a Sampler's MIDI chain.</p>
<p dir="auto">Is this a known issue with this build? Anything I should check (JUCE/compiler version, a setting, etc.) before assuming it's just flaky?</p>
]]></description><link>https://forum.hise.audio/topic/14961/script-processor-not-a-function-error-is-intermittent-non-deterministic-4-1-0</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Jul 2026 10:54:06 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14961.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jul 2026 06:28:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script Processor: &quot;not a function&quot; error is intermittent&#x2F;non-deterministic (4.1.0) on Wed, 29 Jul 2026 09:44:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/5192">@musicayciencia</a> <code>setGlobalVariable()</code> isn't a HISE function, or is it a function you created? Either way, you should avoid global variables if you can.</p>
]]></description><link>https://forum.hise.audio/post/122224</link><guid isPermaLink="true">https://forum.hise.audio/post/122224</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 29 Jul 2026 09:44:05 GMT</pubDate></item><item><title><![CDATA[Reply to Script Processor: &quot;not a function&quot; error is intermittent&#x2F;non-deterministic (4.1.0) on Wed, 29 Jul 2026 08:32:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/5192">@musicayciencia</a> First thing you should do is build HISE form the source.</p>
<p dir="auto">Ignore the Releases section on GitHub - 4.1.0 is far too old to spend any time debugging it.</p>
<p dir="auto">Follow the "How to Compile HISE" details further down the repo page.</p>
]]></description><link>https://forum.hise.audio/post/122221</link><guid isPermaLink="true">https://forum.hise.audio/post/122221</guid><dc:creator><![CDATA[dannytaurus]]></dc:creator><pubDate>Wed, 29 Jul 2026 08:32:06 GMT</pubDate></item></channel></rss>