Hello Babylon Team I need help

I am facing a bug for 2 weeks now and I am not finding the solution for it on the forum because its a local project and I can’t reproduce a playground for it.
I asked a lot and most of the people helped me with a shot in the dark but no solution.

so is there someone from the Babylon team help me with it in a private meeting? like on zoom or google meets and thank you alot.

hey, what kind of issue are you facing? I am not sure if core team has such time to provide support in private, it would be good if you can post your issue here in the forums, I am sure you will get help to solve your bug, If you are looking to hire someone privately, I suggest to post in Service offers and requests - Babylon.js section.

Good luck

1 Like

I did post my issues on the bug and questions before but no one could help because its not on a playground and they cant imagine the issue like I am having a issue where some mesh’s of imported model are disappearing when i clone and anther issue where the scale of the instance mesh is negative value while the original is positive so i just need someone from the support team or anyone who have a good experience to come and see if there are a problem, but the logic of the code is 100% good and i try the solutions on the playground it worked but the problem is only happening in local

if issue is happening only on local, there are few things you can check

  • make sure you have recent version of BabylonJS
  • check your console if any error
  • try to create a minimal code on localhost and remove all other codes and other libraries you are using, just like you did on playground and see if that works
  • maybe its cache issue, make sure all your assets are not cached, for example if you are loading a file.gltf, try to rename like file2.gltf or add a string like file.gltf?v=1234

If all above doesn’t work you still need to provide a repro on playground with minimal code. to see for others

2 Likes

Its one of those things that without an example, we are just shooting off into the dark. Your best bet will be to recreate the issue in a smaller simpler Playground so the community can address it.

This also might want to get moved to the general questions forum section.

3 Likes

Make sure you aren’t trying to set scale, position, rotation using an invalid number. Here is an example of trying to set the position of the sphere with a number that is divided by 0.

https://playground.babylonjs.com/#1BNDFK

1 Like

(Moved to questions)

1 Like

Thank you, I did all of those and everything in the console and the inspector seem’s right like for I have some disappearing mesh in the model when I clone the model but everything is right in the inspector it’s enabled and the visibility is 1 and the materials are good but I don’t know what is the problem
I didn’t try the cache issue maybe I will try it

First Thank you, and like I said the problem is only happening in the local project I recreated a similar playground https://playground.babylonjs.com/#0R1EDI#16 for the problem but in the playground I didn’t have the issue so the idea was when I press on the first clone middle sphere I create an instance and change material for the sphere and when I press on the sphere of the original model it will create a new clone it worked perfectly on the pg but on the local, the sphere and the instance of the sphere in the first clone will disappear after I add new clone, that’s why I need someone to help me in the local to discover what is the problem.

The problem is that i am creating an instanced mesh of a model but the scale of the instance has the same value as the original model but negative like the original have 0.9 the instance have -0.9 so i am putting instance.scale.y=mesh.scale.y to make them the same but this solution is affecting another issue that when i add 1 more clone the original mesh and the instance are dissapearing
this issue: and like I said the problem is only happening in the local project I recreated a similar playground https://playground.babylonjs.com/#0R1EDI#16 for the problem but in the playground, I didn’t have the issue so the idea was when I press on the first clone middle sphere I create an instance and change material for the sphere and when I press on the sphere of the original model it will create a new clone it worked perfectly on the pg but on the local, the sphere and the instance of the sphere in the first clone will disappear after I add new clone, that’s why I need someone to help me in the local to discover what is the problem.

Thank you anw.

If you pull in the max version of Babylon.js, it will have full source and you can step through it in chrome dev tools and see what is happening. When I had a similar issue, that was how I got enough information to reproduce in a PG.