SpicyWorld Forum

 Forgot password?
 Register
Search
View: 1478|Reply: 2

Unity engine - frame loss/audio hiccup [Copy link]

Rank: 1

Post time 2013-7-31 09:27:57 |Show all posts
a wide spread known issue with Unity Engine 3.4/3.5 ...
frame loss and audio stutter.

the issue arises from multi threading bugs in Unity engine.

Akaneiro is plauged by this ... mainly on high end machines.

apparently there is a command line option that helps other games/devs:

-force-gfx-direct  will use the Unity 3.4 renderer in single threaded mode.
or
-force-gfx-st wil use the Unity 3.5 renderer in single thread mode.                                               

i have had no success in getting either of those to eliminate Akaneiro's frame/audio issues.

posting here hoping others may be more successful.

FOR THE DEVS: a C+ code that can be added to the game preventing need of command line options

  • using UnityEditor;

  • class ExtraSettings
  • {
  •     [MenuItem("Extra Settings/Enable MT Rendering")
  •     static void EnableMTRendering()
  •     {
  •         UnityEditor.PlayerSettings.MTRendering = true;
  •     }

  •     [MenuItem("Extra Settings/Disable MT Rendering")
  •     static void DisableMTRendering()
  •     {
  •         UnityEditor.PlayerSettings.MTRendering = false;
  •     }
  • }




Use magic Report

Rank: 9Rank: 9Rank: 9

Post time 2013-7-31 15:22:15 |Show all posts
Can't say I understand it myself but I'll forward the thread onto the tech team  

Use magic Report

Rank: 3Rank: 3

Post time 2013-7-31 17:35:20 |Show all posts
FlightTribe replied at 2013-7-31 08:22
Can't say I understand it myself but I'll forward the thread onto the tech team



Thanks for adding this thread Kahlar. I've had sooooooo many issues with the Unity Engine.

Use magic Report

You have to log in before you can reply Login | Register

Archiver|SpicyWorld

2019-8-20 05:30 GMT+8 , Processed in 0.264635 second(s), 76 queries .

To Top