It sure would be easier and more elegant if assigning a new object to a variable as as easy as V8JS.Script.TEST1 = T1;ClearScript's test code uses this kind of assignment in many places; see the
V8ScriptEngine_Script_Property
test for an example. We've just tested it with your V8test
class and setup code exactly as above and could not reproduce any issue. Does it still fail for you? If so, what are you seeing? Is there an exception?