While trying to get the sample projects to work I'm stuck at the project with vectors. The application crashes with a nullpointer at the following part. I've checked and can confirm that the variable sceneStream actually loaded the file. This issue occurs in both iOS and Android and I can't figure out a solution or work-around to load the default.map.
var sceneStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(@"iOS.Vectors.default.map");
While trying to get the sample projects to work I'm stuck at the project with vectors. The application crashes with a nullpointer at the following part. I've checked and can confirm that the variable sceneStream actually loaded the file. This issue occurs in both iOS and Android and I can't figure out a solution or work-around to load the default.map.
var sceneStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(@"iOS.Vectors.default.map");
map.AddLayer(new LayerScene(Scene2D.Deserialize(sceneStream, true))); <-- Nullpointer