Hello Natalie,
As @BBIT-Solutions requested, could you please give some more details in regards to how the script isn’t working and when you see the errors? If you could please provide a screenshot of your Console window in Unity to show the errors you’re seeing, it would greatly help us troubleshoot the issue.
If you’re having trouble instantiating your prefab, you can resolve that issue by going to your OnSessionInitialized() method and replacing the
session.Ran += OnSessionRan;
with
session.Ran += OnSessionStarted;
And please be sure to review the other community members’ posts on this issue, such as this ARGameLogic.cs script error post. It outlines some issues that occurred while following this tutorial and how to solve them. Thank you!