Hi, I’m trying to load my model within the code below but I’m getting these errors:
Denying load of . Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
localhost/:1 Denying load of chrome-extension://iadokddofjgcgjpjlfhngclhpmaelnli/src/assets/styles.css. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
// Draco loader
const dracoLoader = new DRACOLoader()
dracoLoader.setDecoderPath('/draco/')
// GLTF loader
const gltfLoader = new GLTFLoader()
gltfLoader.setDRACOLoader(dracoLoader)
let model = null
/**
* Model
*/
gltfLoader.load(
'/models/harmless_communication.glb',
(gltf) => {
model = gltf.scene
scene.add(model)
}
)
Yes seems like error is about google extensions, but I’m not doing anything with extensions, that’s why I don’t have a manifest.json so I cannot fix it.
@asliCo you seem to be using localhost which normally involves a server and just as an example, here is what I would provide to Flask server for routes including css files: