Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
10
Found in
2019.3.0a10
Issue ID
1175557
Regression
Yes
Crash in NavMeshManager on Mobile with IL2CPP when using NavMeshComponents
To reproduce:
1. Open the attached project;
2. Switch platfom to iOS or Android;
3. Make sure Scripting Backend is set to IL2CPP;
4. Re-bake the NavMesh (Island scene hierarchy > Island Level > Logic > NavMesh > NavMeshSurface component > Bake);
5. Build and run Island scene on mobile devices.
Result: the scene crashes on load
Reproduced with: 2019.3.0a10, 2019.3.0a11, 2019.3.0a12
Notes: still crashes after re-baking NavMesh data
----------
Until a final fix is provided there are two workarounds that might help in this situation:
1. Disable "Engine Code Stripping" from the player settings of the Android/iOS build.
2. Bake and save at least one (small) static NavMesh somewhere in the scene. This will prevent the stripping of some important NavMesh-related code from the build.
Fixed in 2020.1.0a19
Comments (7)
-
Emanx140
Feb 09, 2020 21:20
Still happens in 2019.3.0f6
-
Kichang-Kim
Oct 29, 2019 01:55
-
fafnir
Oct 25, 2019 17:50
Still happens in 2019.3.0b8
-
danielgsantana
Oct 05, 2019 18:25
Still happens in 2019.3.0b6
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Intercepted Events text is hardly visible in Inspector window for UI elements when Editor theme is set to Light
- [Hierarchy V2] Add new Query Block window contains a typo in the Hierarchy Search Area block
- Scene is not rendered in Player when ran with -force-d3d12 argument and GPU Resident Drawer enabled
- “Failed to load” window appears when a package’s docked window is opened and the package is uninstalled
- Properties window is not closed when the GameObject is deleted and the Properties window is not focused
Resolution Note (fix version 2020.1):
The problem is caused by the NavMeshSettings class being stripped out of Android/iOS builds.
There are two workarounds:
1. Disable "Engine Code Stripping" from the player settings of the Android/iOS build.
2. Bake and save at least one (small) static NavMesh somewhere in the scene. This will cause the NavMeshSettings class to be used and thus not be stripped away.