aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 202 forks source link

Using asset management system for material maps causes inspection of entity to show nothing #554

Open Pluto8195 opened 6 years ago

Pluto8195 commented 6 years ago

Using asset management for material source,

screen shot 2018-07-31 at 2 54 17 pm this is were the entity information should be, it is also throwing this error in the console when you select the entity in question


    at JSON.stringify (<anonymous>)
    at t.value (aframe-inspector.min.js:36)
    at p._renderValidatedComponentWithoutOwnerOrContext (aframe-inspector.min.js:22)
    at p._renderValidatedComponent (aframe-inspector.min.js:22)
    at performInitialMount (aframe-inspector.min.js:22)
    at p.mountComponent (aframe-inspector.min.js:22)
    at Object.mountComponent (aframe-inspector.min.js:7)
    at mountChildren (aframe-inspector.min.js:22)
    at m._createInitialChildren (aframe-inspector.min.js:21)
    at mountComponent (aframe-inspector.min.js:21)
value @ aframe-inspector.min.js:36
_renderValidatedComponentWithoutOwnerOrContext @ aframe-inspector.min.js:22
_renderValidatedComponent @ aframe-inspector.min.js:22
performInitialMount @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:7
mountChildren @ aframe-inspector.min.js:22
_createInitialChildren @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:7
mountChildren @ aframe-inspector.min.js:22
_createInitialChildren @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:7
mountChildren @ aframe-inspector.min.js:22
_createInitialChildren @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:7
performInitialMount @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:7
performInitialMount @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:7
mountChildren @ aframe-inspector.min.js:22
_createInitialChildren @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:21
mountComponent @ aframe-inspector.min.js:7
performInitialMount @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:22
mountComponent @ aframe-inspector.min.js:7
updateChildren @ aframe-inspector.min.js:22
_reconcilerUpdateChildren @ aframe-inspector.min.js:22
_updateChildren @ aframe-inspector.min.js:22
updateChildren @ aframe-inspector.min.js:22
_updateDOMChildren @ aframe-inspector.min.js:21
updateComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:7
_updateRenderedComponent @ aframe-inspector.min.js:22
_performComponentUpdate @ aframe-inspector.min.js:22
updateComponent @ aframe-inspector.min.js:22
receiveComponent @ aframe-inspector.min.js:22
receiveComponent @ aframe-inspector.min.js:7
updateChildren @ aframe-inspector.min.js:22
_reconcilerUpdateChildren @ aframe-inspector.min.js:22
_updateChildren @ aframe-inspector.min.js:22
updateChildren @ aframe-inspector.min.js:22
_updateDOMChildren @ aframe-inspector.min.js:21
updateComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:7
updateChildren @ aframe-inspector.min.js:22
_reconcilerUpdateChildren @ aframe-inspector.min.js:22
_updateChildren @ aframe-inspector.min.js:22
updateChildren @ aframe-inspector.min.js:22
_updateDOMChildren @ aframe-inspector.min.js:21
updateComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:7
updateChildren @ aframe-inspector.min.js:22
_reconcilerUpdateChildren @ aframe-inspector.min.js:22
_updateChildren @ aframe-inspector.min.js:22
updateChildren @ aframe-inspector.min.js:22
_updateDOMChildren @ aframe-inspector.min.js:21
updateComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:21
receiveComponent @ aframe-inspector.min.js:7
_updateRenderedComponent @ aframe-inspector.min.js:22
_performComponentUpdate @ aframe-inspector.min.js:22
updateComponent @ aframe-inspector.min.js:22
performUpdateIfNecessary @ aframe-inspector.min.js:22
performUpdateIfNecessary @ aframe-inspector.min.js:7
s @ aframe-inspector.min.js:7
perform @ aframe-inspector.min.js:7
perform @ aframe-inspector.min.js:7
perform @ aframe-inspector.min.js:7
T @ aframe-inspector.min.js:7
closeAll @ aframe-inspector.min.js:7
perform @ aframe-inspector.min.js:7
batchedUpdates @ aframe-inspector.min.js:23
u @ aframe-inspector.min.js:7
o @ aframe-inspector.min.js:22
enqueueSetState @ aframe-inspector.min.js:23
o.setState @ aframe-inspector.min.js:6
(anonymous) @ aframe-inspector.min.js:1
n.emit @ aframe-inspector.min.js:24
o.emit @ aframe-inspector.min.js:24
n.setValue @ aframe-inspector.min.js:38
(anonymous) @ aframe-inspector.min.js:38
n.emit @ aframe-inspector.min.js:24
o.emit @ aframe-inspector.min.js:24
selectEntity @ aframe-inspector.min.js:35
r @ aframe-inspector.min.js:35
i @ aframe-inspector.min.js:35```
rudolphmax commented 2 months ago

I am having this issue as well with <a-video>. Seems to be related to https://github.com/aframevr/aframe/issues/5241 Here is the corresponding repro on glitch https://glitch.com/~button-experienced-pest

vincentfretin commented 2 months ago

@rudolphmax The aframe-inspector version bundled with 1.6.0 is broken, please do your own build from this repository and references the build with the inspector component. Please create an other issue if you still have the issue.

@Pluto8195 Your issue is from 2018, if you can please reproduce on latest versions, otherwise you can close. We fixes several issues related to React UI crashing.

vincentfretin commented 2 months ago

@rudolphmax I just tested from this repo in examples/index.html with a-video like your example, clicking on it is working, the UI doesn't crash. So you can create your own build or wait for aframe 1.7.0.

rudolphmax commented 2 months ago

@vincentfretin Okay, bummer. Thanks for the reply.