I have downloaded the scaleform 4.2 from the following link http://gameware.autodesk.com/scaleform/public/downloads
The demo which is provided "menu_level" plays fine in a exe build, untill the window is resized or alt+tab is used, then the build just crashes. I can't seem to fix this issue on my own, is there a resolution to this issue on the forums?
Am running a win7 64 pro. Rest of the techinical info is hopefully enough and clear in the log below.
/////////////////THIS IS THE INITIAL LOG/////////////////////////// Initialize engine version: 4.2.2f1 (54f0fc09defb) GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 9.0c [aticfx32.dll 8.17.10.1140] Renderer: ATI Radeon HD 5700 Series Vendor: ATI VRAM: 1014 MB (via DXGI) Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=1 Begin MonoManager ReloadAssembly Platform assembly: E:\ScaleformPaidPatch\Build\game_Data\Managed\UnityEngine.dll (this message is harmless) Loading E:\ScaleformPaidPatch\Build\game_Data\Managed\UnityEngine.dll into Unity Child Domain Platform assembly: E:\ScaleformPaidPatch\Build\game_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless) Loading E:\ScaleformPaidPatch\Build\game_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain Platform assembly: E:\ScaleformPaidPatch\Build\game_Data\Managed\Assembly-CSharp.dll (this message is harmless) Loading E:\ScaleformPaidPatch\Build\game_Data\Managed\Assembly-CSharp.dll into Unity Child Domain - Completed reload, in 0.049 seconds desktop: 1600x900 60Hz; virtual: 1600x900 at 0,0 ////////////////////THIS IS THE END OF LOG IN OUTPUT.TXT /////////// Skipped rendering frame because GfxDevice is in invalid state (device lost) (Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/Misc/Player.cpp Line: 1494) HandleD3DDeviceLost HandleD3DDeviceLost: still lost
Solved! Go to Solution.
I have the same issue on a Intel HD3000 setup . And when running fullscreen, the game resolution must be set to the monitor's current resolution.
My solution, unfortunately, it to not alt-tab and to set the monitor at the res I want to run.
I will test on the Nvidia GTX 480 and report back.
GTX 480 has no problems running full screen when the resolution is set to something other than the current res but alt-tab produces a crash.
Hello sushant_29,
We are unable to reproduce this on NVIDIA or ATI cards with the latest version. This may have been fixed by one of our engineers.
Are you running the latest Scaleform Unity plugin? There should be an "sf_version" in the zip which describes the version/branch it was built with.
Do you have the latest drivers for your graphics card?
Thanks,
Adam Petrone
Hi Adam, like i said i had dowloaded the scaleform from http://gameware.autodesk.com/scaleform/public/downloads and i couldn't find any file which you mentioned. The zip file is named sf_4.2_unity_all , and inside the zip are the following files:
sf_4.2_unity_getting_started.pdf
ScaleformTutorial_Consumer.unitypackage
Scaleform 4.2 Unity Plugin README.pdf
Autodesk_Form_Middleware_License_Mobile_Agr (Folder)
This is how it usually looks like:
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)
HandleD3DDeviceLost
HandleD3DDeviceLost: needs reset, doing it
FullResetD3DDevice
ResetD3DDevice
dev->Reset
Crash!!!
========== OUTPUTING STACK TRACE ==================
(0x7043DFE6) (libgfxunity3d): (filename not available): SF_GotoAndStop + 0x7f86
(0x704380D8) (libgfxunity3d): (filename not available): SF_GotoAndStop + 0x2078
(0x7043148F) (libgfxunity3d): (filename not available): UnitySetGraphicsDevice + 0xcf
(0x0038B5CD) (snowflake): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x9ec6d
(0x005BEE40) (snowflake): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x147a20
(0x005BF049) (snowflake): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x147c29
(0x00388FE1) (snowflake): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x9c681
(0x003E06CB) (snowflake): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf3d6b
(0x003E1EEB) (snowflake): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf558b
(0x0062DB68) (snowflake): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1b6748
(0x0065F4D0) (snowflake): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1e80b0
(0x761133AA) (kernel32): (filename not available): BaseThreadInitThunk + 0x12
(0x77299EF2) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x63
(0x77299EC5) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x36
Did you dowload the version from the 13th of December?
http://gameware.autodesk.com/downloads/scaleform/sf_4.2_unity_all.zip
I can't repro your issue on my machine (with an ATI card).
So I came up with a solution for the crashing on the Intel HD3000 when running a resolution other than the current monitor setting... I set up a intro scene that does not contain any scaleform content. The project does not crash on launch and since the screen size is already set when the next scene with scaleform content loads, there is no crash.
Of course this doesn't address the alt-tab issue.
The latest Scaleform download (12/13/2013) from here http://gameware.autodesk.com/scaleform/public/downloads , seems to have fixed this issue. Although we still haven't done extensive testing. Thank you scaleform team