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
polinkuer12
Jan 11, 2024 13:32
I never knew about this information! very useful information
silentbioer
Sep 30, 2022 11:03
visit now /silentbio.com/jo-koy
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 Alcovewriting.com if you are struggling in completing your project.
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.
mybets88.com
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!!!!!!
https://www.moitruongphapluancongvn.org/
Pháp Luân Công Việt Nam
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 https://www.att-email-settings.com/
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.
https://www.c4social.com/
orlando digital marketing company
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.
https://www.dynamitestudioinc.com/
corporate photographer orlando
rajputyahya51_unity
Aug 23, 2020 18:15
Excellent and very exciting site. Love to watch. Keep Rocking.
delivery service https://www.theverge.com/2020/7/6/21312447/uber-postmates-acquisition-announced-food-delivery
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 https://www.arubastudy.org/thuoc-tang-kich-thuoc-duong-vat/