Resumed function 'start()' after yield, but script is gone. #14

Open
opened 2022-10-08 23:48:50 +02:00 by mightymochi · 0 comments
mightymochi commented 2022-10-08 23:48:50 +02:00 (Migrated from github.com)
E 0:15:12.072   resume: Resumed function 'start()' after yield, but script is gone. At script: res://addons/gift/util/image_cache.gd:65
  <C++ Error>   Method failed. Returning: Variant()
  <C++ Source>  modules/gdscript/gdscript_function.cpp:1795 @ resume()

I added "pass" after the yield to eliminate this error. Is this the best thing to do?

``` E 0:15:12.072 resume: Resumed function 'start()' after yield, but script is gone. At script: res://addons/gift/util/image_cache.gd:65 <C++ Error> Method failed. Returning: Variant() <C++ Source> modules/gdscript/gdscript_function.cpp:1795 @ resume() ``` I added "pass" after the yield to eliminate this error. Is this the best thing to do?
Sign in to join this conversation.
No description provided.