Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by jtori777 · Mar 09, 2016 at 12:38 AM · iosbugcrashshadowtechnical

Game crashing frequently on iOS due to shadows

Hi,

I am currently using Unity 5.2.4f1 and have been trying to fix a crash that occurs when built on iOS. I believe it might have to do with shadows considering the crash log refers to shadow culling.cpp and when I disable shadows for the project the crash does not occur. This error happens at random times and usually appears within 5 - 10 minutes of gameplay. Here is the crash log:

Date/Time: 2016-03-03 14:08:41.41 -0800 Launch Time: 2016-03-03 13:55:18.18 -0800 OS Version: iOS 9.2.1 (13D15) Report Version: 105

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0xb6fd033c Triggered by Thread: 5

Filtered syslog: None found

Breadcrumb Trail: (reverse chronological seconds)

398 disable autoplay

412 enable autoplay

414 enable autoplay

415 disable autoplay

793 GC Framework: startAuthenticationForExistingPrimaryPlayer

Global Trace Buffer (reverse chronological seconds): 128.040714 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x19360069) failed

128.320600 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x144234e9) failed

128.433534 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c33c919) failed

128.540126 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1f9ba0b9) failed

128.540126 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1d3b3ff9) failed

128.625314 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1eca5a49) failed

128.646956 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c979b39) failed

128.692678 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1476a9a9) failed

128.810316 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c9ea759) failed

133.007515 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c9ce6c9) failed

133.924335 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c9c6d89) failed

133.928240 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c9c7009) failed

235.859359 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x147476c9) failed

236.194333 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1f5b3b79) failed

236.481125 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x147b1a89) failed

236.625275 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x412e1d09) failed

236.625275 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1c354bc9) failed

236.881113 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x149b5689) failed

236.915302 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x42ceadb9) failed

236.969498 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1eddfb39) failed

237.160048 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1ed818a9) failed

241.505825 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1eb06b79) failed

241.964911 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1ec706c9) failed

241.971646 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1ec71059) failed

362.925319 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1f894759) failed

363.265686 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x42c21cd9) failed

363.553721 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x19278e19) failed

363.685172 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x42daaab9) failed

363.686463 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x190465b9) failed

363.902375 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x147925e9) failed

363.943819 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1b1f0f69) failed

364.005545 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x193d44b9) failed

364.193344 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x193dedb9) failed

369.302403 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1bf63279) failed

369.637993 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1470ce09) failed

370.185043 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1fd88f59) failed

370.355870 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x1bf52f09) failed

370.356383 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x193fa669) failed

370.561711 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x14769669) failed

370.607333 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x41288ce9) failed

370.671841 libsystem_trace.dylib 0x000000002176c6f9 dyld_image_header_containing_address(0x19108a99) failed

Thread 5 name: UnityWorker Thread 5 Crashed: 0 dhtest 0x005b5646 GenerateCombinedDynamicVisibleListJob(CullResults*) (ShadowCulling.cpp:620)

1 dhtest 0x0071311a JobQueue::Exec(JobInfo*, int, int) (JobQueue.cpp:281)

2 dhtest 0x007131fe JobQueue::ExecuteJobFromHighPriorityStack() (JobQueue.cpp:493)

3 dhtest 0x007132aa JobQueue::ProcessJobs(void*, bool*) (JobQueue.cpp:562)

4 dhtest 0x00712d40 JobQueue::WorkLoop(void*) (JobQueue.cpp:579)

5 dhtest 0x00713d0a Thread::RunThreadWrapper(void*) (Thread.cpp:40)

6 libsystem_pthread.dylib 0x2175ac7e _pthread_body + 138

7 libsystem_pthread.dylib 0x2175abf2 _pthread_start + 110

8 libsystem_pthread.dylib 0x21758a08 thread_start + 8

I have also tried removing any GameCenter related actions and logic, but the crash still occurs, which leads me to believe shadows are the culprit. I have one main directional light, that cast hard shadows in realtime. Any help would be greatly appreciated. Thanks!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Graphics_Dev · Mar 09, 2016 at 12:39 AM 0
Share

Are you using shadow cascades?

avatar image jtori777 Graphics_Dev · Mar 09, 2016 at 12:55 AM 0
Share

yes, the default setting is 4 shadow cascades. I'll try a build with no cascades and check the results.

avatar image jtori777 Graphics_Dev · Mar 09, 2016 at 02:38 AM 0
Share

Changing Edit->Project Settings->Quality->Shadow Cascades to "No Cascades" still made the game crash. I recall reading somewhere that shadow cascades values don't matter with mobile ports, and the shadows looked exactly the same when ported with the "No Cascades" value. Appreciate the feedback however :)

avatar image yigites · Oct 16, 2016 at 01:48 PM 0
Share

I have the same issue. Game crashing because of shadowculling.ccp. I disabled all shadows but the result is same. Still crashing. I use Photon network (PUN+) as 3rd party plugin by the way.

I have 2 maps. One map is singleplayer other is multiplayer. Single player map has no issue but multiplayer crashes.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS - Video Player component crashes app!! 2 Answers

Android Build Just Closes, No Crash Error 0 Answers

Cant Complete Rougelike 2D tutorial. 1 Answer

Help! Null exception and "filename currently not available on il2cpp Line: -1", 1 Answer

iOS crash on HaloManager::RenderHalos 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges