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
- ListView fails to display items when the source list is cleared and a single element is added
- UI Toolkit ':hover' state remains active when another panel is drawn over the hovered element and Touch input is used
- Unsupported Orient modes can be selected and throw errors when using Strip VFX
- "Tab" key exits the name text field in the VFX Graph tab when renaming the Property
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
ahsanrajput2021
Jun 27, 2020 15:22
The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
https://www.boomsbeat.com/articles/285361/20200205/inventhelp-a-stress-free-way-to-get-assistance-with-your-invention.htm
ahsanrajput2021
Jun 27, 2020 10:53
I read that Post and got it fine and informative.
https://eniyipilates.com/aletli-pilates-salonlari/ankara-cayyolu/
Çayyolu pilates
ahsanrajput2021
Jun 25, 2020 08:01
This one is good. keep up the good work!..
https://aalrc.instructure.com/eportfolios/378/Home/Understanding_Strategic_Invention
ahsanrajput2021
Jun 24, 2020 12:34
i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future..
https://www.pearltrees.com/rafaymughal1#item311639477
sex power medicine
rajputyahya51
Jun 24, 2020 11:08
Superbly written article. if only all bloggers offered the same content as you. the internet would be a far better place..
<a href=' https://watchhours.com/ '>how to buy watch hours for youtube</a>
naveedshaikh358
Jun 23, 2020 09:44
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!..
http://www.how-to-fight-depression.com
How to fight depression
ahsanrajput2021
Jun 23, 2020 09:35
I just want to let you know that I just check out your site and I find it very interesting and informative..
http://duponttyvek.com/
Dupont Tyvek
ahsanalirajput079
Jun 21, 2020 15:57
I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
http://www.stjohn-dfc.com
St John DFC
ahsanalirajput079
Jun 20, 2020 11:42
The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
https://happybirthdaywisheshusband.com/
Birthday Images for Husband
naveedshaikh358
Jun 18, 2020 10:25
Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day!
https://www.startupopinions.com/business-ideas-in-hindi/