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
ahsanrajput2021
May 09, 2020 11:22
Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
hvac seo
https://ppaulkallan.tumblr.com/
ahsanrajput2021
May 09, 2020 07:44
Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.
life insurance ads
http://lifeeinsuranceaad.bravesites.com/
ahsanrajput2021
May 09, 2020 06:56
Please share more like that.
thinking about SD-WAN providers
https://taseiis-fyghs.tumblr.com/post/616187397825282048/check-out-the-sd-wan-network-products-nowadays
ahsanalirajput079
May 08, 2020 20:05
This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post!
http://www.millerdiepenbrock.com
legal blog
ahsanalirajput079
May 08, 2020 18:54
Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!!
https://old.reddit.com/r/news/comments/gft08f/click_here_with_the_season_we_change_our_clothes/?
right lingeries for you
ahsanalirajput079
May 07, 2020 19:16
I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
http://onliner.us/story.php?title=nifty-call-option
nifty call option
ahsanalirajput079
May 07, 2020 13:45
What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much.
https://miamiwaterdamagerestoration.org
Miami water damage restoration
ahsanrajput2021
May 07, 2020 09:21
That is really nice to hear. thank you for the update and good luck.
SD-WAN technology
https://jharbour79.tumblr.com/
ahsanalirajput079
May 06, 2020 19:28
Please continue this great work and I look forward to more of your awesome blog posts.
https://www.loanreason.com
Loan Reason Idaho
ahsanalirajput079
May 06, 2020 13:24
I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.
http://onliner.us/story.php?title=sgx-nifty-live
sgx nifty live