SCORM integration problems

Hi.

I got the Scorm package for Unity from here:link text
where they have clearly detailed how to integrate SCORM with Unity3d. I followed all their steps. However, when I try running my project in Unity editor, I get this error:

This scorm manager command must not be called from the main thread.

The project does run despite this error. Perhaps if someone can elaborate regarding the error in general, and some way around it, that would be helpful. So far, I’ve only found issues regarding code that MUST be called from the main thread, not the other way round.

Thank you.

P.S: code is written in C#. Unity ver: 3.4.2f2

The problem you are having is that you are trying to run this in the editor. In order to test with the SCORM integration toolkit, you need to build your project as a web player and run it outside of the Unity editor. Also, the following page:

has a working tutorial that may help with any other problems you might encounter.

Hey, thanks for that reply.Because of that tutorial, I was able to understand the structure in which a SCORM manager was supposed to be used in a Unity sim. The key is to have one SCORM manager which is initialized at the start of the sim and maintain it throughout. I was getting SCORM related errors because of having one SCORM manager in each level. Also, as the writing to the database through SCORM is asynchronous, it’s best to give a delay between writes to the database, else we end up getting errors.