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 NiqXiv · Aug 16, 2018 at 02:40 PM · ioscrashnullreferenceexceptionil2cpp

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

Please help!!

build game on windows(iOS build), transfers to Mac, run on Xcode. can't load game/ simulation on iPhone.

game run smoothly on window and Mac unity with no compile errors.

debug log on Xcode :

2018-08-16 21:33:48.299913+0800 Ballings[600:190492] [DYMTLInitPlatform] platform initialization successful 2018-08-16 21:33:48.394987+0800 Ballings[600:190290] Built from '2018.2/release' branch, Version '2018.2.3f1 (1431a7d2ced7)', Build type 'Release', Scripting Backend 'il2cpp' 2018-08-16 21:33:48.399800+0800 Ballings[600:190290] -> registered mono modules 0x10111afa0 -> applicationDidFinishLaunching() 2018-08-16 21:33:48.685046+0800 Ballings[600:190290] Metal GPU Frame Capture Enabled 2018-08-16 21:33:48.686061+0800 Ballings[600:190290] Metal API Validation Disabled -> applicationDidBecomeActive() GfxDevice: creating device client; threaded=1 Initializing Metal device caps: Apple A10 GPU Initialize engine version: 2018.2.3f1 (1431a7d2ced7) UnloadTime: 0.524291 ms NullReferenceException: A null value was found where an object instance was required. at EpicPrefsTools.Operators.setupPrefs () [0x00000] in :0 at DataManager.FirstLoad () [0x00000] in :0 at DataManager.Start () [0x00000] in :0 Rethrow as TypeInitializationException: The type initializer for 'EpicPrefs' threw an exception. at DataManager.FirstLoad () [0x00000] in :0 at DataManager.Start () [0x00000] in :0 (Filename: currently not available on il2cpp Line: -1) Setting up 1 worker threads for Enlighten. Thread -> id: 1710a7000 -> priority: 1

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by JoshPeterson · Aug 21, 2018 at 12:54 PM

It looks like the problem is in the EpicPrefsTools.Operators.setupPrefs method. Is that method in your source code, or is it in a managed DLL in the project? If it is in your script code, you can use Debug.Log statements or Visual Studio to debug the application to determine what is null.

Comment
Add comment · Show 1 · 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 NiqXiv · Aug 22, 2018 at 01:58 AM 0
Share

I contacted the asset support and realised that i skipped one the of asset setup-steps. Thanks for the assist !

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

189 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 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 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS crash during game play. il2cpp related 0 Answers

iOS crash randomly on loading scene Unity 5.3.1 1 Answer

Unity 5.4 crash after iOS version building and open xcode8 0 Answers

iOS 64 Bit - game freezes for some seconds? 0 Answers

IL2CPP Build error Unity 5.3.1p4 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