Babylon objects not executing

I am having a weird problem. I am developing a react project that uses Babylonjs. On that project I am able to load objects into the scene. However, when I try to create a Material, in this case a PBR Material, it looks like the browser does not process the instantiation of the material. Problem is the following:

import ConnectionConstants from "../../Constants/ConnectionConstants.js";
import { PBRMaterial, Texture } from "@babylonjs/core";
import "@babylonjs/loaders";

function MaterialLoader(object, material, scene) {
  let pbrMaterial = new PBRMaterial("mat", scene);

When I call MaterialLoader the browser hits the first debugger, but doesn’t hit the second debugger. Basicly, all code south let pbrMaterial = new PBRMaterial("mat", scene); does not get executed.

Any clues why this is happening?

16 thoughts on “Babylon objects not executing”

  1. 97990 554445Ill right away grasp your rss feed as I cant in locating your e-mail subscription hyperlink or e-newsletter service. Do youve any? Please let me comprehend so that I may possibly subscribe. Thanks. 81049

  2. 196893 873533A persons Are normally Weight loss is certainly a practical and flexible an eating plan method manufactured for those that suffer that want to weight loss and therefore ultimately conserve a a lot more culture. weight loss 694140