That violation is a message coming from instruments. Could you get the log off the device? Go to the Devices window in Xcode, click on your device, click on the game in the list of the apps, and click on the cog. From there select, download container. Open up that container and find the Saved/ directory (under Documents). Inside there should be a log file from the game execution itself. Hopefully that will tell us something about your crash.
Ok, it crashed in the render thread and I believe I may have already fixed this bug for 4.9. The potential workaround for the time being is to disable Metal in your iOS Project Settings. This will cause it to utilize the ES2 renderer, but it should avoid the crash. Give that a try and let me know if it works for you.
I have requested for the iOS developer to look at your more closely. I have not heard back yet but when I do, he or I will contact you with further information. Thank you for your patience.
The new log also shows a crash in the render thread, but I’m not sure what that one is. Do you have lighting enabled or post processing enabled of any sort?
Yes lighting and post processing are enabled but they are working in the main menu scene (3D Scene)
The main menu uses 1 Point Light 2 Spot Lights 1 Directional Light and 1 Sky Light (all Stationary). It doesn’t looks correct at some places but it doesn’t crash.
One simple Level uses 3 Point Lights 1 Directional Light and 1 Sky Light (all Stationary) with the same post processors as the main menu and crashes immediately.
Have you tried taking out the lights in the level that’s crashing one by one to figure out exactly which one it is? If so, what did you find? Did recreating the lights fix the issue?
We have not heard from you in quite some time and for that reason, this thread must be marked as resolved. If you have any further questions or concerns, please reply back and we will be more than happy to assist you further.
We’re currently looking into the issue that you’re having with your project. We need to know whether or not you’re having an assertion failure, or a crash. Do you have a crash reporter that populates, or any type of error message? If there is an error message, please provide us a screenshot. If you are able to obtain some additional , please upload them to your next reply.
I have no additional error message. When running on iOS the App closes and I see the crash log in Xcode. If I comment out the two lines (lock and unlock) the level opens without problems.
I’m new to iOS development. Is there any way to get more information about the crash?