Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't draw lines on a dedicated server?

I'm trying to draw on a plane in multiplayer and I'm using a dedicated server. I'm sending the points to be drawn to the server and to the clients as well (multicast). It seems to work on the clients (they can see the points used to draw the lines) but I'm getting this on the server log:

 [ 40]Blueprint:Warning: Warning EndDrawCanvasToRenderTarget: Context must be valid. 
 [ 40]LogScript:Warning: Accessed None trying to read property CallFunc_BeginDrawCanvasToRenderTarget_Canvas BP_WhiteBoard_C 

It seems the offender blueprint node is Begin Draw Canvas to Render Target. Can't a dedicated server use this node to get a valid canvas and drawing context?

Product Version: UE 4.15
more ▼

asked May 20 '17 at 05:05 PM in Rendering

avatar image

18 4 4 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I think dedicated servers have most of the rendering stuff disabled. I'm trying to find exactly where does the server stop calling functions that end up in rendering. You may want to look at the engine code for your blueprint node and see if you can find any !GEngine conditions or something similar, in its call hierarchy.

more ▼

answered Dec 04 '17 at 02:57 PM

avatar image

21 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question