Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by BigB · Oct 26, 2014 at 10:25 PM · mac

Receiving unhandled NULL exception in Mac build

Hey guys,

After playing around 10 minutes of my game, I get this consistent crash on a Mac build. This happens in more than 1 mac, with different versions of Mac OS and with different versions of Unity.

This is the log file reported by Unity 4.5.1f3 :

 Receiving unhandled NULL exception
 Obtained 28 stack frames.
 #0 0x0000000054f806 in AudioSource::GetMaxDistance() const
 #1 0x0000000054bd31 in AudioSource::CalculateVolumeModifierForDistance(float)
 #2 0x0000000054be58 in AudioSource::rolloffCallback(FMOD_CHANNEL*, float)
 #3 0x0000000099fd12 in FMOD::ChannelI::calcVolumeAndPitchFor3D()
 #4 0x000000009a0220 in FMOD::ChannelI::update(int, bool)
 #5 0x00000000a2b89e in FMOD::SystemI::updateChannels(int)
 #6 0x00000000a2c2c2 in FMOD::SystemI::update()
 #7 0x00000000a1e6d3 in FMOD::System::update()
 #8 0x000000005449ad in AudioManager::Update()
 #9 0x00000000554af3 in AudioModule::Update()
 #10 0x000000002fe57f in PlayerLoop(bool, bool, IHookEvent*)
 #11 0x00000000662dbc in -[PlayerAppDelegate UpdatePlayer]
 #12 0x000000950e8a2b in __NSFireTimer
 #13 0x00000095555ea6 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
 #14 0x00000095555863 in __CFRunLoopDoTimer
 #15 0x000000955d006d in __CFRunLoopDoTimers
 #16 0x0000009550d353 in __CFRunLoopRun
 #17 0x0000009550c9ea in CFRunLoopRunSpecific
 #18 0x0000009550c84b in CFRunLoopRunInMode
 #19 0x0000009597eb5d in RunCurrentEventLoopInMode
 #20 0x0000009597e8e2 in ReceiveNextEventCommon
 #21 0x0000009597e6bd in _BlockUntilNextEventMatchingListInModeWithFilter
 #22 0x000000935b0349 in _DPSNextEvent
 #23 0x000000935af870 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
 #24 0x000000935a215c in -[NSApplication run]
 #25 0x0000009358aff8 in NSApplicationMain
 #26 0x00000000662b0b in PlayerMain(int, char const**)
 #27 0x00000000002e15 in start
 

Anyone has a clue on what is going on ? Something to do with sounds..

Thanks, Bruno

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 BigB · Oct 27, 2014 at 08:22 AM 0
Share

A little update on this. I disabled the audio and after this I started having crashed when using colliders with convex shapes, so I disabled those colliders and now it seems the game works fine, except when I want to change from one scene to another. Now I get the following :

 Could not open file /Users/bubu/Desktop/Bteste.app/Contents/Data/sharedassets4.assets for read
  
 (Filename:  Line: 136)
 
 Receiving unhandled NULL exception
 Obtained 14 stack frames.
 #0  0x00000097ff635f in flockfile
 #1  0x00000097ff7105 in fileno
 #2  0x000000003c0484 in File::Lock(File::Lock$$anonymous$$ode, bool)
 #3  0x000000003898af in FileCacherRead::FileCacherRead(std::string const&, unsigned long, unsigned long)
 #4  0x0000000039279c in SerializedFile::InitializeRead(std::string const&, ResourceImageGroup&, unsigned int, unsigned int, int, int)
 #5  0x0000000038e871 in Persistent$$anonymous$$anager::GetStreamNameSpaceInternal(int)
 #6  0x0000000038cd9e in Persistent$$anonymous$$anager::LoadObjectsThreaded(int*, int, LoadProgress*)
 #7  0x000000002fd7a0 in PreloadLevelOperation::Perform()
 #8  0x000000002fcdc8 in Preload$$anonymous$$anager::Run()
 #9  0x000000002fcc41 in Preload$$anonymous$$anager::Run(void*)
 #10 0x000000003bd471 in Thread::RunThreadWrapper(void*)
 #11 0x00000095fd25fb in _pthread_body
 #12 0x00000095fd2485 in _pthread_struct_init
 #13 0x00000095fd7cf2 in thread_start
  

I tried the game already with almost all Unity versions out there, only 4.6 is missing. No one has a clue what's going on here ?

Thanks

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

2 People are following this question.

avatar image avatar image

Related Questions

OS X build fails with "Could not find any matching devices" 1 Answer

In-app purchase "Invalid product" on Mac Store build 0 Answers

Imported Windows Project Won't Build on Mac 1 Answer

Using chmod on Mac 0 Answers

How to Setup Openssl & Facebook SDK With Android key HASH on mac OS 10.11.6 1 Answer


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