Simple as the title says.
Windows 7
Newest Scaleform from download page (4.2 from July)
Newest Unity 4.5.2f1
Steps to reproduce below:
Granted, I didn't finish the setup, but it should not crash there. So I continued on...
But none of these fixed it, it always crashes the editor instantly when pressing Play. I tried building to the device, which does't crash, but complains about the license key file missing... which doesn't make sense because the device uses the key from MyCamera.cs...
Please tell me I'm doing something stupid because if not this is soo broken and I'd rather not wait another few months for a potential fix.
Solved! Go to Solution.
Solved by adam.petrone. Go to Solution.
Be mindful of which rendering API Unity is using. Our library is tied to a single API (OpenGL, D3D9, DX11). We do provide dlls for all three (on Windows). On other platforms, it's always OpenGL.
Unity will only brand the title bar if it's using an API other than D3D9. So if you're running in DirectX11, it'll add a "<DX11>" to the title bar.
Our demos default to the D3D9 dll (which is what Unity previously used on startup). However, I have noticed mixed behavior with 4.5.x -- where it tends to prefer DX11 by default.
If this is the case, you have two options:
1. Run Unity in the same mode as the dll you have (-force-d3d9, for example).
2. Copy the Scaleform Unity dll which matches the rendering API Unity is using to your project.
Unfortunately, when these mismatch you just get a hard crash. We'll investigate to see if we can throw up a useful message when this happens.
Regarding the Android steps, are you seeing the crash on an Android device? If so, that may be another issue.
-Adam