When invoking "new W2DImageLoadingService().FromStream(stream)" I see this exception:
System.Exception: 'No resource creator has been registered globally or for this thread.'
I found the following open issue:
IImageLoadingServcie cannot load image on Windows
The suggested workaround to connect a GlobalCreator after the GraphicsView is loaded partially solves this issue.
Exception will be thrown until the GraphicView "Loaded" handler workaround is invoked, so you would need to defer resource loading until after Loaded is triggered.
I used a Lazy to load the resources on the first Render call to the GameObject.
Originally posted by @aluitink in #4 (comment)
When invoking "new W2DImageLoadingService().FromStream(stream)" I see this exception:
System.Exception: 'No resource creator has been registered globally or for this thread.'
I found the following open issue:
IImageLoadingServcie cannot load image on Windows
The suggested workaround to connect a GlobalCreator after the GraphicsView is loaded partially solves this issue.
Exception will be thrown until the GraphicView "Loaded" handler workaround is invoked, so you would need to defer resource loading until after Loaded is triggered.
I used a Lazy to load the resources on the first Render call to the GameObject.
Originally posted by @aluitink in #4 (comment)