Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I am getting the above System.Exception on instantiation of a new GKComponentSystem object. I am using XI 188.8.131.52, XM 2.99.0.0849, XS 184.108.40.2060 and Xcode 7 Beta 4 on simulator. I get the same exception on a physical iPhone 5S running iOS 9.0 Beta 4.
Application Output: https://gist.github.com/aaronsky/ccf6b0772cf4cf8666b4
Weird, we have unit tests that reach the same code (without this issue).
Please attach your sample project.
This project was built without the changes in macios-mac-xcode7/55c68c1a3d1d0739cde0ec3e395625ff411db620
Build fails because your project references absolute paths, e.g.
Can you set the simulator build to it's default, which is use "Dont link" ?
I think you could hit a case where we're adding GameplayKit.framework (by default) but not in every case where simlauncher is rebuilt.
Something was _off_ since re-opening the solution shows "Don't link. I can duplicate the issue now.
It seems it's simlauncher that does not have a reference to GameplayKit.framework - but that does not explain your issue with the iPhone 5S.
So what I get on my Phone is identical to what I get on the simulator (w/ Link SDK enabled), it's a NullReferenceException on
DefaultParticleRate = (float)Particles.ParticleBirthRate;
Can you try to get me a symbolicated crash report from the device ?
I'm investigating the issues I was having on device and I'm getting to the same point. No longer failing on GKComponentSystem, but on Particles.FromFile. It's an embedded resource issue that I'm currently fixing.
Ok, let me know if you ever see this on device again (it should not be possible).
The simulator case was fixed yesterday. Pick up (from wrench) 377e9dbfbbd59a4572cb37077417399b2f68ae6f (or later) commit and it should be fine.
*** Bug 32839 has been marked as a duplicate of this bug. ***