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
rajputyahya51_unity
Aug 09, 2020 07:06
Positive site. where did u come up with the information on this posting? I'm pleased I discovered it though. ill be checking back soon to find out what additional posts you include.
zawa bán ở đâu https://chuyensuckhoesacdep.com/zawa/
rajputyahya51_unity
Aug 04, 2020 08:30
thank you for a great post.
NJ traffic https://slides.com/sonitufo
pyjehefy
Jul 29, 2020 10:42
I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates.
http://www.administaffservices.com/
rajputyahya51_unity
Jul 29, 2020 09:25
Wow what a Great Information about World Day its very nice informative post. thanks for the post.
Real Estate Photo Editing USA https://imageedits.com/
rajputyahya51_unity
Jul 28, 2020 12:15
Thank you very much for keep this information.
Spy software reviews https://www.spysoftwarecoupon.com
rajputyahya51_unity
Jul 28, 2020 11:17
Thanks for sharing the info. keep up the good work going.... I really enjoyed exploring your site. good resource...
health test kit sales https://stdtestingcoupon.com
rajputyahya51_unity
Jul 28, 2020 05:25
Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject!
cheap CBD stores online https://www.cbdoilcouponcode.com
saurabhmehetre4r
Jul 27, 2020 16:21
This one is good. keep up the good work!..
keep it up
https://newanotherpanel.com/
rajputyahya51_unity
Jul 26, 2020 10:08
These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
thực phẩm chức năng m1820 https://chuyensuckhoesacdep.com/m1820/
pyjehefy
Jul 20, 2020 13:32
It was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing.
Wefinex là gì https://www.slideshare.net/TimClow1/buying-engagement-rings-online-avoid-the-pitfalls-get-the-best-deals-236519208