Fix release build error in script engine caused by an unused (debug-only) variable.
Fix release build error in script engine caused by an unused (debug-only) variable.

jfroy/rivenx,jfroy/rivenx,jfroy/rivenx,jfroy/rivenx