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);
}
}
Comments (203)
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
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
waqarscientist
May 16, 2020 16:46
I love all the articles, I need to point out my partner and i treasured, My partner and i wants more information with regards to this kind of, simply because it is rather fantastic., Many thanks relating to uncovering. <a href="https://prizebondlucky.net/guesspapers.php">u prize bond</a>
beriberis
May 16, 2020 11:39
Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles .
gdpr https://esowatch.org/
ahsanalirajput079
May 15, 2020 13:04
Great post, and great website. Thanks for the information!
https://glitterpoops.studio
Miami Tattoo parlor
ahsanrajput2021
May 14, 2020 11:28
Thank you for such a well written article. It’s full of insightful information and entertaining descriptions. Your point of view is the best among many.
how can I sell my kidney
https://sites.google.com/view/sellmykidney/home
ahsanalirajput079
May 12, 2020 22:00
i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.
https://analyzewebsitetool.com/
analyze website audit
beriberis
May 11, 2020 18:15
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.
Buy weed online https://maps.google.cat/url?q=https://www.marijuanahop.com/
ahsanalirajput079
May 11, 2020 11:50
I love this blog!! The flash up the top is awesome!!
http://google.sh/url?q=http://www.freebusinessideas.net/
ahsanalirajput079
May 10, 2020 21:22
I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.
http://10lance.com/story.php?title=florida-lottery-cash-3
florida lottery number
ahsanalirajput079
May 09, 2020 17:50
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.
https://dmsgroup.biz
DMS Bucks
beriberis
May 09, 2020 16:03
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
auto usate https://www.miomarket.it