subsoap / defrs

A collection of useful general resources made ready to be used with the Defold game engine
Creative Commons Zero v1.0 Universal
18 stars 1 forks source link

ERROR: 0:21 Graphics in Defold 1.5 #2

Open Jugibur opened 1 year ago

Jugibur commented 1 year ago

Hi, I have got errors after trying to run many of the examples:

ERROR:GRAPHICS: ERROR: 0:21: Invalid call of 'texture' (not a function or subroutine uniform)
ERROR: 0:22: Use of undeclared identifier 't'

WARNING:RESOURCE: Unable to create resource: /_generated_8a9b9273.fpc: FORMAT_ERROR
Assertion failed: (resource_hash), function Release, file resource.cpp, line 1240.
INFO:CRASH: Successfully wrote Crashdump to file: /Users/jh/Library/Application Support/Defold/_crash
ERROR:CRASH: CALL STACK:
[.....]

Unfortunately, as a beginner here I do not know what to do. Would be great, you could adapt the examples to the new Defold version. Thanks!

britzl commented 1 year ago

@Jugibur how can someone reproduce the problem? I tried running this project as-is but did not have any issues.

Jugibur commented 1 year ago

Well I just changed the bootstrap collection path to the different examples. The following occurs for me in each of the examples:

Here the described error Graphic ERROR: 0:21 occurs: /examples/input/4dir_move/4dir_move.collection /examples/input/alt_f4/alt_f4.collection /examples/input/text_typing/text_typing.collection /examples/tools/colors/colors.collection /examples/tools/easing_equations/easing_equations.collection /examples/tools/ms_rng/ms_rng.collection /examples/tools/texture_dynamic_buffer/texture_dynamic_buffer.collection /examples/toys/arc_swing/arc_swing.collection /examples/toys/bouncer/main_bouncer.collection /examples/tools/texture_dynamic_buffer/texture_dynamic_buffer.collection /examples/toys/identicons/identicons.collection /examples/toys/konami_code/konami_code.collection /examples/toys/minesweeper/minesweeper.collection /examples/toys/orbit/orbit.collection /examples/toys/rpg_movement/rpg_movement.collection

Black screen: /examples/toys/bouncer/big_wall.collection Black screen, a peace of a GO left bottom /examples/toys/bouncer/ground.collection

Error: /defcon/console.lua The file '/defnet/http_router.lua' could not be found. /examples/input/multitouch/multitouch.collection

These are working: /examples/toys/random_level/random_level.collection /examples/input/4dir_move/4dir_move.collection /examples/toys/shooter/shooter.collection

britzl commented 1 year ago

Here the described error Graphic ERROR: 0:21 occurs: /examples/input/4dir_move/4dir_move.collection

I'm not getting the same error. Are you using Windows, macOS or Linux? Is it crashing when running Project->Build and/or when doing Project->Bundle (and then return the executable)?

Jugibur commented 1 year ago

I'm using macOS Ventura, these message happen on "Build". I've tried now "Bundle" for i.e. Mac and HTML5 and I've got a "failed" dialog box with this error: [....]/build/default/game.arci (No such file or directory)

britzl commented 1 year ago

And this is a problem only with this project, or with others too?

Jugibur commented 1 year ago

It's only with this project.