Comments (11)
Hello,
Am I the only one with this issue?
from unrealcv.
Hi, @Noelok "IndentationError: unexpected indent" sounds like a python error. Where did you see this error? Can you paste more detailed error message?
For the can not connect to
error, there might be several reasons. The most common issue is port 9000 is in use. Can you run vget /unrealcv/status
and see what it returns?
from unrealcv.
Hi Weichao,
Thank you for your reply.
Here is a screenshot of the error msg I've got when I tried to connect to my unreal scene with unreal launched from a command shell.
The UnrealCV plugin is installed :
Because I couldn't connect, I exported my scene as a package for windows 64bits. I launched the package and I was able to connect using a command shell. When I run the command "vget /unrealcv/status" I got this: "Is listening\nClient Connected\9000\n"
The "IndentationError: unexpected indent" message is when I run this command from a command shell:
"vset /object/[object_name]/color 255 0 0" . I'd like to set an ID color to my object
Thank you for your help,
Noel.
from unrealcv.
For the first question: when you are not able to connect to the editor using python script, you can still type command in the console of UE4 Editor. It will be something looks like this, I want to see the status in the editor.
from unrealcv.
Hi @qiuwch, thanks for this plugin.
I have a very similar issue. I compiled everything from source for UE 4.13.
I created a package from the Realistic Rendering UE4 scene in the marketplace.
When starting the standalone scene, then trying to connect the client from python, it's failing to connected (see screenshot below).
Note that the same thing is working if I use the version of Realistic Rendering downloaded from your website or if I build the package in UE 4.12 with your plugin.
But using the version compiled from latest github with UE 4.13, no luck...
Thanks!
-olivier
from unrealcv.
Hi @oliviersoares:
I did not do a lot of testing with 4.13 yet. This is weird, let me do some diagnosis and get back to you tomorrow.
from unrealcv.
Thanks @qiuwch, much appreciated.
I did a test with 4.12, compiled from the same source (latest github) and I could make everything work nicely. So it seems to be an issue with 4.13.
Note that I still have the same issue Noel described which is when playing the scene directly from Unreal, the client won't connect. However it will connect properly when building a standalone package.
As a side note, for 4.13 to work, I had to change this line from an Error to a Warning:
https://github.com/unrealcv/unrealcv/blob/master/Source/UnrealCV/Private/TcpServer.cpp#L267
Without this change, Unreal generates an error when building the package and fails (might be related to the underlying issue with 4.13).
Thanks again,
-olivier
from unrealcv.
Hi Weichao,
Sorry for my late reply.
So in 4.12, when I run the command "vget /unrealcv/status"
I got this :
I have to open the Output Log to see the result of this command.
thanks,
Noel.
from unrealcv.
Hi, @Noelok @oliviersoares:
Sorry for getting back to you after such a long delay.
The compatible issue should be fixed in the v0.3.0, if you are still interested in using this tool, please give it a try. Thanks.
from unrealcv.
Hi Weichao,
Thanks for the update! We are really interested in using this tool! :)
I'm testing it in 4.13
Thanks!
from unrealcv.
Thanks for feedback and let me know if you find any issue. : )
from unrealcv.
Related Issues (20)
- Matlab error
- The difference in pixel value in the screen shot.
- Build failed for UE4.27 HOT 7
- Can't Build for UE4.27 HOT 1
- How to get command output from Unreal - Bone locations
- Can't open the terminal in UnrealCV
- Problems detecting the position of the cameras, using Unreal engine 4.27 HOT 1
- Lighting needs to be rebuilt
- Assertion Error When Launching a Packaged Game for PlayerController
- Reflection Material Reflects Annotation in Lit Mode
- How to convert the depth into disparity? HOT 5
- New viewmode for albedo
- Dynamic camera position not reflecting HOT 1
- Getting vertex position of skeletal mesh HOT 2
- Can't Build for UE4.27 on Ubuntu HOT 1
- What are the internal parameters of FunsionCamSensor HOT 1
- Unrecognized image file extension for "npy" HOT 1
- 无法连接到('localhost', 9000) HOT 4
- deadlock of Euler Angle
- error Can not find a handler for URI 'vget /camera/0/lit' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrealcv.