Preview version problem

Yesterday everything worked perfectly, now I get this error on all the models I load :

BJS - [13:02:40]: Unable to load assets from ./assets/objects/HOUSE/building.babylon: loadAssets of building.babylon from 3dsmax version: 2, exporter version: 20191209.5
	Lights:
		Name: PhotometricLight001, type: Point
	Materials:
		Name: 03 - Default
		Name: 01 - Default
		Name: 02 - Default
		Name: 07 - Default
		Name: 08 - Default
		Name: 09 - Default
		Name: 14 - Default
		Name: 13 - Default
	Meshes:
		Name: Box002, isInstance: YES, # of submeshes: 1, n vertices: 378, parent: NONE
		Name: Plane001, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: Plane002, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: Plane003, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: Plane004, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: Pyramid001, isInstance: YES, # of submeshes: 1, n vertices: 24, parent: NONE
		Name: door, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: window, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: window2, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: Box003, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
		Name: Box004, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
		Name: Box005, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
		Name: Box006, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
		Name: Plane005, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
		Name: dog, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE, animation[0]: Name: position animation, property: position, datatype: Vector3, nKeys: 48, nRanges: 0
		Name: Box008, isInstance: YES, # of submeshes: 1, n vertices: 30, parent: NONE
		Name: Grass, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE (Cannot read property 'getScene' of null)

BJS - [13:48:41]: Unable to load assets from ./assets/objects/METALS_FACTORY/building.babylon: loadAssets of building.babylon from 3dsmax version: 2, exporter version: 20191209.5
Lights:
Name: PhotometricLight001, type: Point
Name: PhotometricLight002, type: Point
Materials:
Name: 02 - Default
Name: 01 - Default
Name: 07 - Default
Name: 03 - Default
Name: 08 - Default
Name: 09 - Default
Name: 13 - Default
Name: 14 - Default
Name: 15 - Default
Name: 19 - Default
Name: 20 - Default
Name: 21 - Default
Meshes:
Name: Box001, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Tube001, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Box002, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: roof, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Plane001, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane002, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Box003, isInstance: YES, # of submeshes: 1, n vertices: 30, parent: NONE
Name: roof2, isInstance: YES, # of submeshes: 1, n vertices: 42, parent: NONE
Name: Plane003, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane004, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane005, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Plane006, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Box004, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: roof3, isInstance: YES, # of submeshes: 1, n vertices: 24, parent: NONE
Name: Plane007, isInstance: YES, # of submeshes: 1, n vertices: 18, parent: NONE
Name: Box005, isInstance: YES, # of submeshes: 1, n vertices: 96, parent: NONE
Name: Tube002, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Box006, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: roof5, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: Tube003, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Cylinder001, isInstance: YES, # of submeshes: 1, n vertices: 648, parent: NONE
Name: Cylinder002, isInstance: YES, # of submeshes: 1, n vertices: 648, parent: NONE
Name: Object001, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Cylinder003, isInstance: YES, # of submeshes: 1, n vertices: 108, parent: NONE
Name: Cylinder004, isInstance: YES, # of submeshes: 1, n vertices: 108, parent: NONE
Name: Box007, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box008, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Cylinder005, isInstance: YES, # of submeshes: 1, n vertices: 768, parent: NONE
Name: Cylinder006, isInstance: YES, # of submeshes: 1, n vertices: 768, parent: NONE
Name: Box009, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box010, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box011, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box012, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box013, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box014, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box015, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box016, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box017, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box018, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: OilTank001, isInstance: YES, # of submeshes: 1, n vertices: 576, parent: NONE
Name: OilTank002, isInstance: YES, # of submeshes: 1, n vertices: 576, parent: NONE
Name: Box019, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box020, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Sphere001, isInstance: YES, # of submeshes: 1, n vertices: 672, parent: NONE
Name: Truck, isInstance: YES, # of submeshes: 0, n vertices: 0, parent: NONE
Name: Box022, isInstance: YES, # of submeshes: 1, n vertices: 324, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Box021, isInstance: YES, # of submeshes: 1, n vertices: 180, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Box023, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder007, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder008, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder009, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder010, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder011, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
Name: Cylinder012, isInstance: YES, # of submeshes: 1, n vertices: 288, parent: 16c0e95d-9427-40b3-8993-20a04c316260
AnimationGroups:
Name: Animation, type: AnimationGroup (Cannot read property ‘getScene’ of null)

babylon.js:16 BJS - [13:48:34]: Unable to load assets from ./assets/objects/FARM/building.babylon: loadAssets of unknown
Lights:
Name: PhotometricLight001, type: Point
Name: PhotometricLight002, type: Point
Materials:
Name: 02 - Default
Name: 01 - Default
Name: 07 - Default
Name: 03 - Default
Name: 08 - Default
Name: 09 - Default
Name: 13 - Default
Name: 14 - Default
Name: 15 - Default
Name: 19 - Default
Name: 20 - Default
Meshes:
Name: Box001, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Tube001, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Box002, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: roof, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Plane001, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane002, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Box003, isInstance: YES, # of submeshes: 1, n vertices: 30, parent: NONE
Name: roof2, isInstance: YES, # of submeshes: 1, n vertices: 42, parent: NONE
Name: Plane003, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane004, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Plane005, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Plane006, isInstance: YES, # of submeshes: 1, n vertices: 6, parent: NONE
Name: Box004, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: roof3, isInstance: YES, # of submeshes: 1, n vertices: 24, parent: NONE
Name: Plane007, isInstance: YES, # of submeshes: 1, n vertices: 18, parent: NONE
Name: Box005, isInstance: YES, # of submeshes: 1, n vertices: 96, parent: NONE
Name: Tube002, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Box006, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: roof5, isInstance: YES, # of submeshes: 1, n vertices: 72, parent: NONE
Name: Tube003, isInstance: YES, # of submeshes: 1, n vertices: 1296, parent: NONE
Name: Cylinder001, isInstance: YES, # of submeshes: 1, n vertices: 648, parent: NONE
Name: Cylinder002, isInstance: YES, # of submeshes: 1, n vertices: 648, parent: NONE
Name: Object001, isInstance: YES, # of submeshes: 1, n vertices: 12, parent: NONE
Name: Cylinder003, isInstance: YES, # of submeshes: 1, n vertices: 108, parent: NONE
Name: Cylinder004, isInstance: YES, # of submeshes: 1, n vertices: 108, parent: NONE
Name: Box007, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box008, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Cylinder005, isInstance: YES, # of submeshes: 1, n vertices: 768, parent: NONE
Name: Cylinder006, isInstance: YES, # of submeshes: 1, n vertices: 768, parent: NONE
Name: Box009, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box010, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box011, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box012, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box013, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box014, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box015, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box016, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box017, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box018, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: OilTank001, isInstance: YES, # of submeshes: 1, n vertices: 576, parent: NONE
Name: OilTank002, isInstance: YES, # of submeshes: 1, n vertices: 576, parent: NONE
Name: Box019, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Name: Box020, isInstance: YES, # of submeshes: 1, n vertices: 36, parent: NONE
Cameras:
Name: Default camera, type: UniversalCamera (Cannot read property ‘getScene’ of null)

Can you load your models into the playground and try the latest and previous versions?

I can’t, I don’t have them online and cross-site origin won’t let me load them from localhost, but 4.0.3 isn’t an option anyway as my game relies on instantiateModelsToScene and it doesn’t work in 4.0.3.

If you want to debug the models, I can upload them somewhere.

I’ve loaded the 4.0.3 version in my game and it properly loads the models (no errors whatsoever) but instantiateModelsToScene doesn’t work (as expected)

This is interesting…Can you share the .babylon file somewhere?

Never mind, everything works well now.

1 Like