Hi everyone,
I have a couple of projects that integrate with my job’s LMS (Moodle) using the ADL Unity4SCORM Integration package. They were working fine on the LMS last week - I had one small SCORM package that allowed you to change the score and completion and satisfaction settings before saving back to the LMS as I was experimenting with how it all worked before adding SCORM integration to a quiz I’d done in Unity and uploading it to the LMS.
Since the weekend, however, it seems something has changed. I have been trying to upload the quiz but getting the usual
Internal_ExternalCall can only be called from the main thread
error, which usually is fine as it’s to do with the ScormManager trying to access the LMS when it’s being run locally, but additionally I’ve also been getting :
NullReferenceException: Object reference not set to an instance of an object
These errors refer to whenever ScormManager is using a function that accesses the LearnerRecord.
What’s confusing the heck out of me is that they worked fine without these errors last week. The only thing I can think of that has changed is I’ve upgraded to Unity 5.2, but that shouldn’t affect the SCORM package already on the Moodle site which is throwing up the same errors in the console.
I’ve tried creating a barebones project from scratch with very simple features (responds to SCORM_Initialize_Complete) but that’s not being received either and it’s throwing the same NullReferenceExceptions when I try to get it to do anything with the learner record.
Does ANYONE who has any experience of SCORM/LMS and Unity integration have any suggestions/tips or is going through anything similar?!
I’m pulling my hair out. I now have a great quiz created in Unity that doesn’t communicate with the LMS and won’t record the user’s score until I can get this issue sorted. ![]()