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
naveedshaikh358
Jun 17, 2020 15:19
nice post, keep up with this interesting work. It really is good to know that this topic is being covered also on this web site so cheers for taking time to discuss this!
buy cjc-1295-w-dac-2mg online
https://www.steroidsmalls.com/item/37/cjc-1295-w-dac-2mg
ahsanalirajput079
Jun 15, 2020 11:14
Love what you're doing here guys, keep it up!..
https://yoyomedia.in
instagram panel
naveedshaikh358
Jun 15, 2020 08:08
Thank you for taking the time to publish this information very useful!
https://www.asbestosinottawa.com/
Asbestos Removal
naveedshaikh358
Jun 12, 2020 13:37
The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
how do you get a patent
https://www.vingle.net/posts/2936658
naveedshaikh358
Jun 10, 2020 15:38
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
Tree Lopping Brisbane Northside
http://www.treeloppingbrisbanenorthside.net
rajputyahya51
Jun 10, 2020 15:32
These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
<a href=' https://www.ultimate-guitar.com/u/tingdiam99 '>鑽石gia</a>
naveedshaikh358
Jun 10, 2020 07:29
I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject?
https://courtneystockton.com/napa-wedding-photography
Napa Wedding Photographer
naveedshaikh358
Jun 09, 2020 13:09
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://fullcontactseo.com
Delray Beach PPC
junaidpirzada19
Jun 09, 2020 09:48
Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work.
https://www.lovecbike.sk/
bicykle predaj
naveedshaikh358
Jun 09, 2020 07:42
It's a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Fantastic work!
Building Surveys Blackburn
http://buildingsurveyslancashire.co.uk/best-building-surveys-lancashire/