- Home /
Problems with FingerGestures in Unity 4.3 build for Windows Store?
We're having trouble with builds crashing in Unity 4.3, and we've tracked the problem down to FingerGestures... at least, if we remove FingerGestures from a level, we can load that level without crashing. Is anyone else having trouble with FingerGestures? Is anyone using it successfully in Unity 4.3?
The builds experiencing problems are those for Windows Store. I'm mainly testing the XAML C# Solution for Windows 8.1, but the problem occurs when we change those settings to the other options.
Here's basically what happens:
Windows splash screen shows fine, then Unity splash screens show, then the level select screen shows.
If we've removed FingerGestures from a level, loading that level works fine, except that all actions that require FingerGestures are disabled.
With FingerGestures included, running in debug mode, a bunch of breakpoints are triggered when we select a level. If we "continue" through them all, the level loads, but all actions that require FingerGestures are disabled. In the debug output, we get the following messages that don't appear when we've removed FingerGestures:
// snipped similar output
illegal LocalPathID in persistentmanager
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Serialize/PersistentManager.cpp Line: 326)
The file 'C:/Users/Andrea/ProjectName/WindowsStoreVSProject/ProjectName/bin/x86/Debug/AppX/Data/level2' is corrupted! Remove it and launch unity again! [Position out of bounds! 302249 > 302248]
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Serialize/CacheWrap.cpp Line: 276)
Template.exe has triggered a breakpoint.
illegal LocalPathID in persistentmanager
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Serialize/PersistentManager.cpp Line: 326)
The file 'C:/Users/Andrea/ProjectName/WindowsStoreVSProject/ProjectName/bin/x86/Debug/AppX/Data/level2' is corrupted! Remove it and launch unity again! [Position out of bounds! 302289 > 302288]
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Serialize/CacheWrap.cpp Line: 276)
Template.exe has triggered a breakpoint.
// snipped similar output
The file 'C:/Users/Andrea/ProjectName/WindowsStoreVSProject/ProjectName/bin/x86/Debug/AppX/Data/level2' is corrupted! Remove it and launch unity again! [Position out of bounds! 330876 > 330872]
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/Runtime/Serialize/CacheWrap.cpp Line: 276)
Template.exe has triggered a breakpoint.
// snipped similar output
FingerGestures: using Mouse Input Provider
(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/MetroSupportGenerated/UnityEngineDebug.cpp Line: 55)
With FingerGestures included and running in deployed mode, our game crashes after displaying the "loading..." screen when we select a level.
Thanks,
Andrea Mantler
Confirmed. We experienced a similar issue with our Game Jam game at the weekend, as well as with our current project.
In our case, removing the FingerDownDetector solved the issue.
$$anonymous$$inimum repro (single scene, a single game object and 30 lines of code) submitted: http://fogbugz.unity3d.com/default.asp?589454_86d6t7gqvhq2ef6m
Your answer
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How can I stop the variable values reverting to its default values after being built? 1 Answer
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Android Build Error 1 Answer
Get axis not working with inputs 1 Answer