Closed RowanG1Bilue closed 2 years ago
Describe the bug After installing Snowplow via Roku package manager with this procedure: https://www.npmjs.com/package/@snowplow/roku-tracker
And creating the snowplow node via these commands:
m.global.AddField("snowplow", "node", false) m.global.snowplow = CreateObject("roSGNode", "snowplow_Snowplow")
I get:
BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type snowplow_Snowplow: pkg:/source/startup/main.brs(26)
BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type snowplow_Snowplow: pkg:/source/startup/main.brs(26
Any ideas?
Device information (please complete the following information):
Additional context Add any other context about the problem here.
The problem was that I tried to create the node before showing the scene. Works fine when moving the code to after screen.show()
Describe the bug After installing Snowplow via Roku package manager with this procedure: https://www.npmjs.com/package/@snowplow/roku-tracker
And creating the snowplow node via these commands:
I get:
BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type snowplow_Snowplow: pkg:/source/startup/main.brs(26
)Any ideas?
Device information (please complete the following information):
Additional context Add any other context about the problem here.