Stream stream = GetType().Assembly.GetManifestResourceStream("Level.bin"); Byte[] data = new Byte[stream.Length]; stream.Read(data, 0, (int) stream.Length);An exception is caught on the 2nd line stating that object reference is not set to an instance of an object. The GetManifestResourceStream() method is not throwing an exception but it appears that there is never an object stream created.