-
Is there any reason why the Is there any other way to access these resources when creating the node? Specifically, the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The RenderWorld does have access to it and in fact it's the only place where they are accessible. The issue is most likely that you are calling the FromWorld impl in the plugin build() function. What you need to do is call it in the finish() function. Since bevy 0.11 we now initialize the RenderDevice after the plugins are built to support webgpu. https://bevyengine.org/learn/migration-guides/0.10-0.11/#webgpu-support |
Beta Was this translation helpful? Give feedback.
The RenderWorld does have access to it and in fact it's the only place where they are accessible. The issue is most likely that you are calling the FromWorld impl in the plugin build() function. What you need to do is call it in the finish() function.
Since bevy 0.11 we now initialize the RenderDevice after the plugins are built to support webgpu.
https://bevyengine.org/learn/migration-guides/0.10-0.11/#webgpu-support