Hi again, @borrrden
I cloned the git for space-shooter and ran into some errors trying to play it on my system.
Windows 8.1 (64-bit)
Unity 5.1.1f1 Personal
- When I try to run the game in the editor, I get this error:
Failed to load ‘Assets/Plugins/x64/sqlite3.dll’ with error 'The operation completed successfully.
', GetDllDirectory returned ‘’. If GetDllDirectory returned non empty path, check that you’re using SetDirectoryDll correctly.
SQLitePCL.raw:sqlite3_libversion()
SQLitePCL.raw:sqlite3_libversion()
Couchbase.Lite.Shared.SqlitePCLRawStorageEngine:Open(String)
Couchbase.Lite.Database:Open()
Couchbase.Lite.Manager:GetDatabase(String)
c__Iterator2:MoveNext() (at Assets/Scripts/AssetChangeListener.cs:87)
Any ideas?
- So then I tried Build & Run, and the game starts, the music plays, the ship fires bullets… but it hangs on the “Loading…” message and never creates any rocks. I have to alt-f4 to quit.
Here are the logs from my cmd prompts, which hopefully will help you out. First the sg.bat window:
C:\Users\David\Documents\GitHub\space-shooter>sg.bat
15:16:25.079434 Enabling logging: [REST REST+ HTTP HTTP+ Access Cache Shadow Sha
dow+ CRUD CRUD+ Changes Changes+ JSON JSON+]
15:16:25.080434 ==== Couchbase Sync Gateway/1.0.4(34;04138fd) ====
15:16:25.081434 Configured Go to use all 4 CPUs; setenv GOMAXPROCS to override t
his
15:16:25.082435 WARNING: Error setting MaxFileDescriptors to 5000: Unsupported o
n Windows – rest.setMaxFileDescriptors() at config.go:378
15:16:25.082435 Opening db /spaceshooter as bucket “ss-sync”, pool “default”, se
rver walrus:.
15:16:25.083435 Opening Walrus database ss-sync on walrus:.
15:16:25.092441 Cache: Initialized changeCache with nextSequence=#2
15:16:25.092441 Shadow: Watching doc changes…
15:16:25.349455 Access: Computed channels for “”: !:1,*:1
15:16:25.536466 Access: Computed roles for “”:
15:16:25.536466 Reset guest user to config
15:16:25.536466 Changes+: Notifying that “ss-sync” changed (keys=“{_sync:user:}”
) count=2
15:16:25.536466 Starting admin server on 127.0.0.1:4985
15:16:25.539467 Starting server on :4984 …
2015/07/03 15:16:27 Walrus: Warning: Couldn’t save walrus bucket: rename walrust
emp515865431 ss-sync.walrus: Cannot create a file when that file already exists.
15:17:57.028742 HTTP: #001: PUT /spaceshooter/alternateship
15:17:57.031737 CRUD+: Invoking sync on doc “alternateship” rev 1-1c3545754e1ee0
9226444d361e17840a
15:17:57.144744 Cache: SAVING #3
15:17:57.144744 Cache: Received #3 after 1ms (“alternateship” / “1-1c3545754e1
ee09226444d361e17840a”)
15:17:57.145744 CRUD: Stored doc “alternateship” / “1-1c3545754e1ee09226444d361e
17840a”
15:17:57.145744 HTTP+: #001: → 201 (118.0 ms)
15:17:57.145744 Cache: Deferring #3 (1 now waiting for #2…#2)
15:17:57.189752 HTTP: #002: PUT /spaceshooter/alternateship/data?rev=1-1c354575
4e1ee09226444d361e17840a
15:17:57.214749 CRUD+: Invoking sync on doc “alternateship” rev 2-f50c524c5130bb
62cabdfd542e8b8369
15:17:57.215754 CRUD+: Saving old revision “alternateship” / “1-1c3545754e1ee092
26444d361e17840a” (40 bytes)
15:17:57.215754 CRUD+: Backed up obsolete rev “alternateship”/“1-1c3545754e1ee09
226444d361e17840a”
15:17:57.215754 Cache: SAVING #4
15:17:57.216748 CRUD: Stored doc “alternateship” / “2-f50c524c5130bb62cabdfd542e
8b8369”
15:17:57.216748 Cache: Received #4 after 0ms (“alternateship” / “2-f50c524c513
0bb62cabdfd542e8b8369”)
15:17:57.216748 Cache: Deferring #4 (2 now waiting for #2…#2)
15:17:57.216748 HTTP+: #002: → 201 (27.0 ms)
2015/07/03 15:17:59 Walrus: Warning: Couldn’t save walrus bucket: rename walrust
emp583786698 ss-sync.walrus: Cannot create a file when that file already exists.
15:18:27.363491 HTTP: #003: GET /spaceshooter/player_data
15:18:27.364485 HTTP: #003: → 404 missing (1.0 ms)
15:18:57.943246 HTTP: #004: GET /
15:18:57.944247 HTTP+: #004: → 200 (1.0 ms)
15:18:58.130259 HTTP: #005: GET /favicon.ico/
15:18:58.131257 HTTP: #005: → 400 invalid database name “favicon.ico” (1.
0 ms)
15:19:25.111816 WARNING: changeCache: Giving up, accepting #3 even though #2 is
missing – db.(changeCache)._addPendingLogs() at change_cache.go:320
15:19:25.128811 Cache: #3 ==> channel ""
15:19:25.128811 Cache: #4 ==> channel “"
15:19:25.129811 Changes+: Notifying that “ss-sync” changed (keys="{}”) count=3
15:20:35.181856 HTTP: #006: GET /spaceshooter/player_data
15:20:35.181856 HTTP: #006: → 404 missing (0.0 ms)
15:21:42.893756 HTTP: #007: GET /spaceshooter/player-data
15:21:42.893756 HTTP: #007: → 404 missing (0.0 ms)
15:21:43.034765 HTTP: #008: GET /favicon.ico/
15:21:43.034765 HTTP: #008: → 400 invalid database name “favicon.ico” (0.
0 ms)
15:22:01.455827 HTTP: #009: GET /spaceshooter/player_data
15:22:01.455827 HTTP: #009: → 404 missing (0.0 ms)
15:22:01.580841 HTTP: #010: GET /favicon.ico/
15:22:01.581835 HTTP: #010: → 400 invalid database name “favicon.ico” (1.
0 ms)
And then we have the initialize_data.bat followed by set_ship.py (which also failed).
C:\Users\David\Documents\GitHub\space-shooter\script>initialize_data.bat
{“id”:“alternateship”,“ok”:true,“rev”:“1-1c3545754e1ee09226444d361e17840a”}{“id”
:“alternateship”,“ok”:true,“rev”:“2-f50c524c5130bb62cabdfd542e8b8369”}
C:\Users\David\Documents\GitHub\space-shooter\script>set_ship.py “alternateship”
Traceback (most recent call last):
File “C:\Users\David\Documents\GitHub\space-shooter\script\set_ship.py”, line
14, in
rev = data[“_rev”]
KeyError: ‘_rev’
Thanks again.
Kind regards,
David