greje656 / clouds

Volumetric Clouds plugin for Stingray
61 stars 17 forks source link

Missing resource error #7

Closed OzgurCerlet closed 7 years ago

OzgurCerlet commented 7 years ago

I'm getting an error when I try to spawn a cloud entity, here's the log fragment:

[Error] - Editor Engine: Resource set does not contain the resource named `clouds_result_texture1`
Assertion failed `_resources.has(name)` at `D:\BuildAgent\work\77aa4c8074a56d3f\git\runtime\engine/renderer/resources/resource_set.h:25`
Build identifier: `e495219095fecbae17e78ddb6e6e32c71b365adb`
Product version: `Release (1.5.863.0)`
Thread name: `renderer`

Lua Stack
----------------------------------------
    [0] [C]: in function resource
    [1] clouds-resources/clouds.lua:5: in function generate
    [2] clouds-resources/clouds.lua:27: in function spawned
    [3] clouds-resources/clouds.lua:31:in function <clouds-resources/clouds.lua:30>
    [4] [C]: in function dispatch
    [5] core/editor_slave/common/entity_script_callbacks.lua:13: in function editor_spawned
    [6] core/editor_slave/stingray_editor/entity.lua:265: in function set_components
    [7] core/editor_slave/stingray_editor/level_editing.lua:521: in function spawn_or_update_entity
    [8] [string "local _temp_size = stingray.Script.temp_byte_count(); 

I am not sure the plugin is set up correctly, I followed the instructions in the README.md but did nothing about the clouds.plugin and clouds-service.js files in the zipped source. Do we need to somehow enable the plugin before the said instructions? Sorry if this is obvious, I am fairly new to Stingray.

greje656 commented 7 years ago

It looks as if the plugin wasn't loaded correctly : ( Did you manage to get it working? I just made a video showing how to load the plugin. Here: https://www.youtube.com/watch?v=lZ1i3b5fa5U

OzgurCerlet commented 7 years ago

The video cleared things up, I am not getting the missing resource error anymore. Thanks!