Search Issue Tracker

Fixed in 2019.1.X



Found in


Issue ID




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(, 1.0f, Vector3.forward, hits);

Comments (203)

  1. polinkuer12

    Jan 11, 2024 13:32

    I never knew about this information! very useful information

  2. silentbioer

    Sep 30, 2022 11:03

    visit now /

  3. StatisticsGuru

    Mar 05, 2021 15:52

    Thank you for the opportunity to post on your blog. I have viewed this page and the article, which is very informative. We are specialized in providing SPSS data analysis services professional DNP capstone project writing services. Contact if you are struggling in completing your project.

  4. xxgg1313

    Nov 06, 2020 06:35

    I am so happy to read this. This is the type of manual that needs to be given and not the accidental misinformation that is at the other blogs. Appreciate your sharing this greatest doc.

  5. naveedshaikh358

    Aug 26, 2020 12:34

    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!!!!!!
    Pháp Luân Công Việt Nam

  6. rajputyahya51_unity

    Aug 24, 2020 09:01

    The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
    att email setting for thunderbird

  7. naveedshaikh358

    Aug 24, 2020 08:38

    Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.
    orlando digital marketing company

  8. naveedshaikh358

    Aug 24, 2020 08:14

    Thank you for some other informative blog. Where else could I get that type of information written in such an ideal means? I have a mission that I’m just now working on, and I have been at the look out for such information.
    corporate photographer orlando

  9. rajputyahya51_unity

    Aug 23, 2020 18:15

    Excellent and very exciting site. Love to watch. Keep Rocking.
    delivery service

  10. mailanaruba

    Aug 23, 2020 12:34

    All the contents you mentioned in post is too good and can be very useful. I will keep it in mind
    thuốc tăng kích thước dương vật tốt nhất

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.