When Importing rayHelper Im getting a webpack warning

WARNING in ../node_modules/@babylonjs/core/Debug/rayHelper.js
There are multiple modules with names that only differ in casing.      
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.

Not sure what the best way to fix this would be, I’m assuming something need to be changed on the BJS side or I need to nerf out my section of code that uses the rayHelper.

cc @RaananW

Seems to be related to “debug” vs. “Debug”. We are working on macs, linux, and windows, so we do make sure the file-system imports are correct. Are you sure it is not on your side somewhere? We don’t import from “debug” anywhere. At least anywhere I could find. Not on the inspector, nor in core.

It looks like when I imported the ref automatically it made it lowercase instead of uppercase. Normally it does not do that but seems to have been a hiccup this time. Thanks for pointing the suggestion.

1 Like