Since migrating to AMD I occasionally get a TypeError: this.spatialReference is undefined on app load. It's quite random. Sometimes I can do a hundred page loads and not get it once; sometimes it occurs several times in a row; and at other times it's consistent once every 5-6 page loads.
There's no additional info with the error. It doesn't break the app, and as far as I can tell it doesn't cause any other problems. Still I wonder what it is and if it's something I'm causing with load order?