Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.3.0a1
Issue ID
1096382
Regression
No
All arguments are mandatory for (int)PhysicsScene.SphereCast, even though they shouldn't be
How to reproduce:
1. Open any (new) project
2. Import the attached script
- Observe the compilation error
- The error happens because 3 of the arguments have no default value and are therefore not optional.
- Only happens for SphereCast, other multiscene queries work as intended
- Non-multiscene/default scene queries are not affected
Code in the script:
using UnityEngine;
public class ThisShouldCompile : MonoBehaviour
{
void Start()
{
RaycastHit[] hits = new RaycastHit[1];
int number = new PhysicsScene().SphereCast(Vector3.zero, 1.0f, Vector3.forward, hits);
}
}
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
naveedshaikh358
Jun 02, 2020 05:59
Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next..
gta 5 account boost
https://gtacash.money/
ahsanalirajput079
Jun 01, 2020 18:24
Thank you for very usefull information..
https://urbanartassociation.com/thread/163315/david-batman-watercolour-charity-auction/
David Choe art
beriberis
Jun 01, 2020 13:36
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
mundschutz https://www.hewecon.de/
ahsanalirajput079
Jun 01, 2020 11:45
Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
http://ibuyandsellit.com/
Buying & Selling Assets
naveedshaikh358
Jun 01, 2020 11:05
I read your blog frequently and I just thought I’d say keep up the amazing work!
Judi Slot Online
http://www.jokergaming439.xyz/
ahsanalirajput079
May 31, 2020 18:58
I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website.
https://sites.google.com/view/garagedoorrepairgarlandtexas/
garage doors Garland TX
naveedshaikh358
May 31, 2020 14:15
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing...
garage door repair Spanish Fork UT
https://sites.google.com/view/garagedoorrepairspanishfork/
ahsanalirajput079
May 31, 2020 12:28
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..
https://sites.google.com/view/garagedoorrepairsandieg/
San Diego garage door repair
naveedshaikh358
May 31, 2020 10:39
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often.
https://www.houzz.com/hznb/professionals/fencing-and-gate-sales-and-construction/armstrong-fence-company-san-diego-pfvwus-pf~2117850448
ahsanalirajput079
May 30, 2020 18:17
Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging..
https://www.linkedin.com/in/toms-william/