Can't get editor properties to work in BabylonJS Editor 5.2.2

I created a completely new project in a completely new install of BabylonJS Editor, click on the rotating box, and there are no exposed editor properties even though it should have Speed as a visible property.

this is the default box.ts script

import { Mesh } from "@babylonjs/core/Meshes/mesh";
import { Vector3 } from "@babylonjs/core/Maths/math.vector";

import { IScript, visibleAsNumber } from "babylonjs-editor-tools";

export default class SceneComponent implements IScript {
	@visibleAsNumber("Speed", {
		min: 0,
		max: 0.1,
	})
	private _speed: number = 0.04;

	public constructor(public mesh: Mesh) {}

	public onStart(): void {}

	public onUpdate(): void {
		this.mesh.rotate(Vector3.UpReadOnly, this._speed * this.mesh.getScene().getAnimationRatio());
	}
}

cc @julien-moreau

1 Like

Hi @David_B !
You are not the only one that reported this issue. The thing is I still don’t reproduce.

Do you confirm that you are on a Windows machine?
Also, which template are you using? SolidJS?

Right after loading the editor and before clicking on the box, can you open the debug tools using CTRL+ALT+i (or Cmd+ALT+i on macOS), click on the box (it’ll process editable properties) and send me the latest logs you have? It should be an error.

1 Like

Hey @David_B I finally found the problem!! I fixed it and I released the new version 5.2.3.
If you are on Windows, you can download the update here: Babylon.js Editor

1 Like

Thanks! I see the editor properties now.

1 Like