x

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"

Need Information about UE4s threads & thread safety

In my current project i want to use a third-party library (Lua) for modding-capabilities, for ai, actors aswell as ui widgets,

The problem i have is : Accessing a Lua state is not thread-safe, it should be accessed by only one thread at any given time (that includes reading and writing). I only need it for gameplay logic/ai logic/behavior trees and UI.

I only know that in Unreal 4 rendering is done in a separate thread (which is something my lua state wouldn't come in touch with at all so no problem there) and i read that physics area also done on a separate thread, but i'm unsure about the rest.

Now the question : is all the game logic, like all the tick-events/tick-functions, aka
-player controller lotic,
-ai controller logic,
-player controller logic,
-character/actor logic
-animation logic,
-the ai behavior tree logic and
-UMG-widget logic
on the same thread in Unreal 4?

If not, is there any page that shows what threads Unreal 4 has for what engine feature so i can make some proper adjustments?

The only helpful answer i found so far was this topic https://forums.unrealengine.com/show...nd-Job-Threads but they didn't seem to be 100% sure and before i stumble into errors or make unneccessary adjustments i want to make sure.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 27 '17 at 10:44 AM in Using UE4

avatar image

StefanHohnwald
31 1 3 6

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

0 answers: sort voted first
Be the first one to answer this question
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