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 madorca · Dec 21, 2015 at 09:37 AM · iosil2cpp

IL2CPP app freezing on iOS 9.1/9.2 (Unity 4.6.9p2, 4.7.0)

Hi. I'm developing on Unity3d pro 4.6.9f1, 4.6.9p2, 4.7.0 When I checked backend scripts using by 'IL2CPP'. app freezing with GC_LOCK when call the 'LoadLevel'. i don't know why. cause. it is well running before. and it is strange. that when i choose backend scripts 'mono 2.x' it run well on device. no freeze !

my application called 'Application.LoadLevel' in coroutine method.

My Testing iOS Version is 9.1,9.2. below is my log. after that log it is freezing. and, when i debug stack. that show me . 'GC_LOCK' last trace of stack.

============================================================ LOG ============================================================ 2015-12-18 21:37:45.253 loadevtest[1793:694646] -> registered mono modules 0x101405dd0 -> applicationDidFinishLaunching() -> applicationDidBecomeActive() Requesting Resolution: 1334x750 Init: screen size 1334x750 Initializing Metal device caps Initialize engine version: 4.7.0f1 (9c73fd3cda99) UnloadTime: 6.725333 ms Unloading 4 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 662 unused Assets to reduce memory usage. Loaded Objects now: 1131. Total: 15.516417 ms (FindLiveObjects: 0.092416 ms CreateObjectMapping: 0.133583 ms MarkObjects: 0.916791 ms DeleteObjects: 14.206583 ms)

UnloadTime: 32.123333 ms

I need your help as soon as possible u can... thanks.

Comment
Add comment · Show 1
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 JoshPeterson · Dec 21, 2015 at 12:51 PM 0
Share

Did this work with IL2CPP in earlier versions of Unity? If so, which version worked correctly?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by lkp0907 · Dec 22, 2015 at 01:17 AM

4.6.9 f . worked correctly but, after add some resources and scripts it doesn't work !

Comment
Add comment · Show 8 · Share
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 JoshPeterson · Dec 22, 2015 at 12:02 PM 0
Share

Do you know what scripts changed? That might help us track down the cause.

avatar image lkp0907 · Dec 22, 2015 at 02:53 PM 0
Share
  1. Add new prefabs

After that.

In Coroutine, where i 'm calling that method 'Application.loadLevel()' It loaded scene but, all scripts which are on the next scene don't call the 'Start()' $$anonymous$$ethods. but, they are called 'Awake()'

and Just when i checked in xcode that show me logs. gc_lock

avatar image JoshPeterson lkp0907 · Dec 22, 2015 at 03:12 PM 0
Share

I'm not sure why this would cause a problem. It certainly should not. Can you submit a bug report?

avatar image lkp0907 JoshPeterson · Dec 23, 2015 at 09:08 AM 0
Share

Enqueued from com.apple.main-thread (Thread 1)Queue : com.apple.main-thread (serial) #0 0x02a01628 in dispatch_barrier_async_f_slow () #1 0x029f5e62 in dispatch_async () #2 0x000ac4c6 in -[UnityAppController(Rendering) repaintDisplayLink] at /Users/buildpc/Build/iOS/LOA/Classes/UnityAppController+Rendering.mm:52 #3 0x02964b4c in -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] () #4 0x22eee82e in CA::Display::DisplayLinkItem::dispatch() () #5 0x22eee67e in CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) () #6 0x225d158a in IO$$anonymous$$obileFramebufferVsyncNotifyFunc () #7 0x20e8125c in IODispatchCalloutFromCF$$anonymous$$essage () #8 0x20be35e8 in CF$$anonymous$$achPortPerform () #9 0x20bf5a0a in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFOR$$anonymous$$FUNCTION () #10 0x20bf511e in __CFRunLoopDoSource1 () #11 0x20bf3530 in __CFRunLoopRun () #12 0x20b45bb8 in CFRunLoopRunSpecific () #13 0x20b459ac in CFRunLoopRunIn$$anonymous$$ode () #14 0x21dbfaf8 in GSEventRun$$anonymous$$odal () #15 0x24e31fb4 in UIApplication$$anonymous$$ain () #16 0x000a63da in main at /Users/buildpc/Build/iOS/LOA/Classes/main.mm:37 #17 0x000a62f8 in start ()

Show more comments
avatar image JoshPeterson · Dec 23, 2015 at 01:22 PM 0
Share

I'm not sure about the cause here, but I do think that you should submit a bug report so that we can look at the issue more closely.

avatar image
0

Answer by madorca · Dec 29, 2015 at 11:16 AM

We've sent bug report through our PC on last week and would you please check what's going on there?

Comment
Add comment · Show 4 · Share
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 JoshPeterson · Dec 29, 2015 at 01:52 PM 0
Share

Can you let me know the bug report number? I'll have a look at its status.

avatar image madorca · Dec 30, 2015 at 01:24 AM 0
Share

Sorry but we would not save its issue number, but I guess you can search by my email

avatar image JoshPeterson madorca · Dec 30, 2015 at 02:35 AM 0
Share

Thanks, I've found it. The bug number is 756912. I'll ask our QA to to look at it.

avatar image madorca JoshPeterson · Dec 30, 2015 at 02:36 AM 0
Share

Thanks Josh, We look forward your feedback.

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

36 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

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

C++ Compilter Configuration Disabled in iOS Project Settings 1 Answer

IL2CPP from mono makes build size 15x larger 1 Answer

Loading content at runtime with HoloLens and IL2CPP 1 Answer

How to serialize objects of type dictionary and dictionary using MessagePack with il2cpp 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