I haven't tried without specifying my ip, but yes that may be the reason. It worked prior to the newest engine release and a couple of editor 2 updates though. I'll remove my ip when I get home and see if that fixes the problem.
I have removed the ip (it says null because I left the field empty) then started dmengine up on my phone, chose the ip from the dropdown menu and hit build but it still crashes.
Ok, I did not expect that. To be clear, you selected one of the IPs that were generated in the menu? It would be of great help if you check logcat again to see if there is different info regarding the crash, I'm assuming "'http://null:49888/build/game.projectc'" won't be there anymore. (That was the specific problem about the manually entered IP, it did not receive info from the SSDP broadcasting.)
I'm getting the same error message, same sequence of events. It's worked once or twice, but I've tried restarting everything and can't replicate. Target shows up correctly in the editor (Android 5 phone connected correctly via usb), both IPs are correct.
$ adb logcat -s defold
--------- beginning of system
W/defold (12246): WARNING:CRASH: Number of modules exceeds capacity
I/defold (12246): INFO:DLIB: Log server started on port 44805
I/defold (12246): INFO:ENGINE: Engine service started on port 8001
I/defold (12246): INFO:ENGINE: Defold Engine 1.2.144 (8def4b5)
I/defold (12246): INFO:ENGINE: Loading data from: .
I/defold (12246): INFO:ENGINE: Initialised sound device 'default'
I/defold (12246):
I/defold (12246): INFO:DLIB: SSDP: Started on address 192.168.0.13
I/defold (12246): INFO:ENGINE: Defold Engine 1.2.144 (8def4b5)
F/defold (12246): FATAL:ENGINE: Unable to load project file: 'http://192.168.0.11:52802/build/game.projectc' (-1)
I/defold (12246): INFO:CRASH: Successfully wrote Crashdump to file: /data/data/com.defold.dmengine/files/_crash
Also: when I try to use "Target IP" in the project menu, I get this error:
192.168.0.13 could not be reached from this host
F/defold (58511618): FATAL:ENGINE: Unable to load project file: 'http://null:49888/build/game.projectc'
Expected behaviour
Application works, game starts loading
Actual behaviour
Application crashes.
Steps to reproduce
Step to analyze
Same thing happens to me on iOS.
Is this when you have manually specified an IP address? After having investigated a bit, it seems like that will crash the engine 100%.
I haven't tried without specifying my ip, but yes that may be the reason. It worked prior to the newest engine release and a couple of editor 2 updates though. I'll remove my ip when I get home and see if that fixes the problem.
I have removed the ip (it says null because I left the field empty) then started dmengine up on my phone, chose the ip from the dropdown menu and hit build but it still crashes.
Ok, I did not expect that. To be clear, you selected one of the IPs that were generated in the menu? It would be of great help if you check logcat again to see if there is different info regarding the crash, I'm assuming "'http://null:49888/build/game.projectc'" won't be there anymore. (That was the specific problem about the manually entered IP, it did not receive info from the SSDP broadcasting.)
Yes I selected the generated IP from the menu.
This is what i'm getting now from the log: F/defold (91058423): FATAL:ENGINE: Unable to load project file: 'http://0.0.0.0:61371/build/game.projectc'
Excellent, thanks, this really helps a lot!
Fixed
I'm getting same error on Android
[Running on target 'Yifang-NX16A8116K' (192.168.0.102)] INFO:ENGINE: Defold Engine 1.2.105 (719697b) FATAL:ENGINE: Unable to load project file: 'http://192.168.0.117:63949/build/game.projectc' INFO:DLIB: SSDP: Done on address 192.168.0.102
Pressing build crashed the app. Tested with debug version of APK. IP is right.
I'm getting the same error message, same sequence of events. It's worked once or twice, but I've tried restarting everything and can't replicate. Target shows up correctly in the editor (Android 5 phone connected correctly via usb), both IPs are correct.
$ adb logcat -s defold
Also: when I try to use "Target IP" in the project menu, I get this error: 192.168.0.13 could not be reached from this host