Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.2.0a3
2020.2.0a11
Issue ID
1251783
Regression
Yes
Crash when script has RequireComponent(typeof(NavMeshAgent)) attribute but GameObject doesn't have NavMeshAgent Component
How to reproduce:
1. Open the attached "case_1251783.zip" project
2. Load "Test" scene
-- Observe the crash
Reproducible with: 2020.2.0a3, 2020.2.0a13
Not reproducible with: 2018.4.23f1, 2019.3.16f1, 2019.4.0f1, 2020.1.0b11 2020.2.0a2
First lines of the stack trace:
0x00007FF71F458479 (Unity) Transform::GetTransformAccess
0x00007FF71FB72F54 (Unity) NavMeshAgent::SmartReset
0x00007FF71F1B593F (Unity) InitializeComponentCreatedFromCode
0x00007FF71F1AFBFC (Unity) AddComponentUnchecked
0x00007FF71F1AF7FA (Unity) AddComponent
<...>
Comments (1)
-
friuns
Jan 02, 2021 02:45
lol they fixed it by creating new bugs :D
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a16